Does axclient.py exist for ROS2?
The axclient.py
documented here is quite a handy tool for quick debugging and testing. Does its equivalent exist for ROS2?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Turns out, a CLI tool already exists which was added in https://github.com/ros2/ros2cli/issue...
Quoting the ticket
ros2 action send_goal ACTION_NAME ACTION_TYPE GOAL_MESSAGE
# For example:
$ ros2 action send_goal /fibonacci example_interfaces/Fibonacci "order: 5"
Sending goal...
Goal accepted.
Feedback:
sequence: [0, 1, 1]
Feedback:
sequence: [0, 1, 1, 2]
Feedback:
sequence: [0, 1, 1, 2, 3]
Feedback:
sequence: [0, 1, 1, 2, 3, 5]
Result:
sequence: [0, 1, 1, 2, 3, 5]
Asked: 2022-04-23 12:16:29 -0500
Seen: 131 times
Last updated: Apr 23 '22