Skip to content

Commit

Permalink
Fix test_action_client.py failures (#471)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
  • Loading branch information
ivanpauno authored Dec 5, 2019
1 parent 23827e5 commit 9a4471c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rclpy/test/test_action_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from rclpy.action import ActionClient
from rclpy.callback_groups import ReentrantCallbackGroup
from rclpy.executors import MultiThreadedExecutor, SingleThreadedExecutor
from rclpy.qos import qos_profile_action_status_default

from test_msgs.action import Fibonacci

Expand All @@ -44,6 +45,10 @@ def __init__(self, node):
self.result_callback)
self.feedback_pub = node.create_publisher(
Fibonacci.Impl.FeedbackMessage, '/fibonacci/_action/feedback', 1)
self.status_pub = node.create_publisher(
Fibonacci.Impl.GoalStatusMessage,
'/fibonacci/_action/status',
qos_profile_action_status_default)

def goal_callback(self, request, response):
response.accepted = True
Expand Down

0 comments on commit 9a4471c

Please sign in to comment.