micro-ROS / micro_ros_arduino

micro-ROS library for Arduino
Apache License 2.0
437 stars 113 forks source link

Removing error loop from example int publisher #1808

Closed TheHassanShahzad closed 2 months ago

TheHassanShahzad commented 2 months ago

I'm using microROS on a esp32, running the microROS agent node on the ros2 side and specifying which usb device is being used. My problem is that in the example code there is error handling and so after the error loop has begun, the microros agent cannot be setup. again. Also if a connection is closed via terminal the microROS agent command is re-run then it does not initiate the connection unless the usb device is plugged out and then plugged back in which is not ideal

Like a computer mouse or a webcam, the device should function without even needing the microROS agent node. Are these requests already possible to implement?