Robotics StackExchange | Archived questions

Where do I initiate comms in a ros2 hardware interface?

I'm having trouble understanding what should be done in oninit(), onconfigure(), 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 onactivate? Or should I do that in onconfigure?

Asked by lexi on 2023-07-25 09:46:35 UTC

Comments

Answers