Ask Your Question
1

ROS2 action goal canceling problem

asked 2020-09-16 00:39:59 -0500

10908234 gravatar image

I followed the example codes on Github, but when client send cancel goal request, the action server didn't receive the cancel request.

I didn't change the example codes, so I just put the example link below.

Server Code https://github.com/ros2/examples/blob...

Client Code https://github.com/ros2/examples/blob...

Am I the only person who fail to cancel goal?

edit retag flag offensive close merge delete

Comments

I would also like to know this. Did you find an answer? It seems straightforward in C++ but not in python

dannee gravatar image dannee  ( 2022-03-16 08:55:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-01-21 18:33:17 -0500

action canceling example: https://github.com/ros/ros_tutorials/...

edit flag offensive delete link more

Comments

he has clearly asked for ROS2 , your link points to ROS

Fetullah Atas gravatar image Fetullah Atas  ( 2021-02-04 08:41:24 -0500 )edit

It is a ROS2 example. You can see the branch is set to foxy. Next time if you would like to know if the package is ROS1 or ROS2, an easy and fast way to do that is see CMakeLists.txt and package.xml file and check on the building system (catkin is for ROS1, ament is for ROS2)

Jaehyun Shim gravatar image Jaehyun Shim  ( 2021-02-04 18:29:05 -0500 )edit
1

Is there any examples in python?

dannee gravatar image dannee  ( 2022-03-16 08:57:33 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-09-16 00:39:59 -0500

Seen: 1,229 times

Last updated: Jan 21 '21