Ask Your Question

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

Client Code

Am I the only person who fail to cancel goal?

edit retag flag offensive close merge delete


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

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

action canceling example:

edit flag offensive delete link more


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

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



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

Seen: 1,229 times

Last updated: Jan 21 '21