ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
1

Does axclient.py exist for ROS2?

asked 2022-04-23 12:16:29 -0600

Rufus gravatar image

The axclient.py documented here is quite a handy tool for quick debugging and testing. Does its equivalent exist for ROS2?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-04-23 14:10:18 -0600

Rufus gravatar image

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]
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-04-23 12:16:29 -0600

Seen: 50 times

Last updated: Apr 23