Where do I initiate comms in a ros2 hardware interface?

asked 2023-07-25 09:46:35 -0500

lexi gravatar image

I'm having trouble understanding what should be done in on_init(), on_configure(), and on_activate().

I am writing a hardware interface for a device that uses CAN for comms. Should I wait to spin off my receive messaging thread until on_activate? Or should I do that in on_configure?

edit retag flag offensive close merge delete