Complete the code to import the ROS action client library.
from actionlib import [1]
The SimpleActionClient class is used to create an action client in ROS.
Complete the code to create an action client for the 'fibonacci' action.
client = SimpleActionClient('[1]', FibonacciAction)
The action client must connect to the 'fibonacci' action server by specifying its name.
Fix the error in the feedback callback function definition.
def feedback_cb([1]): rospy.loginfo('Feedback received: %s' % feedback.sequence)
The feedback callback receives a feedback parameter containing the feedback message.
Fill both blanks to send a goal and register the feedback callback.
goal = FibonacciGoal(order=[1]) client.[2](goal, feedback_cb=feedback_cb)
The goal order is set to 10, and send_goal is used to send the goal with a feedback callback.
Fill all three blanks to wait for the result and print it.
client.[1]() result = client.[2]() print('Result sequence:', result.[3])
First wait for the result, then get it, and finally print the sequence attribute from the result.
