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: 129 times
Last updated: Apr 23 '22
Laser scan can't match map during navigation
Permission denied when using basic ROS2 CLI
Installed galactic but environment ros distro=foxy
Concurrent service clients in ROS 2
pre-release test fail on galactic [closed]
Inappropriate ioctl on SPI when using launch, works using run
Cannot build package due to pkg_resources.extern.packaging.version.InvalidVersion
First Install: Foxy or Galactic
How is a std_msgs/msg/ByteMultiArray message published via CLI?
How to use move_base Action API with a navigation goals subscriber