Equivalent of ros::AsyncSpinner in ROS 2

asked 2022-10-18 04:46:25 -0500

Edvard gravatar image

updated 2022-10-18 06:51:21 -0500

ravijoshi gravatar image

Hi, Sorry for all mistakes, as English is not my native language.

Is there an executor that works like AsyncSpinner in ROS 2? With start() and stop() methods or there equivalent.

I am porting my code from Noetic to Foxy now, and I have problems understanding what to use instead of AsyncSpinner. Appreciate any help.

edit retag flag offensive close merge delete

Comments

I found some useful links. Please go through them [1], [2], and [3].

ravijoshi gravatar image ravijoshi  ( 2022-10-18 06:49:04 -0500 )edit

Thank you for help. I'll test it

Edvard gravatar image Edvard  ( 2022-10-18 07:15:51 -0500 )edit

Using Callback Groups seems to be used most often e.g. in Nav2 packages. I recommend you to check their packages :)

ljaniec gravatar image ljaniec  ( 2022-10-19 06:07:22 -0500 )edit