Robotics StackExchange | Archived questions

Equivalent of ros::AsyncSpinner in ROS 2

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.

Asked by Edvard on 2022-10-18 04:46:25 UTC

Comments

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

Asked by ravijoshi on 2022-10-18 06:49:04 UTC

Thank you for help. I'll test it

Asked by Edvard on 2022-10-18 07:15:51 UTC

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

Asked by ljaniec on 2022-10-19 06:07:22 UTC

Answers