Closed srujan-xairo closed 2 months ago
You will need to add re-connection support.
Use of Humble is not recommended for new designs. You should move to current LTS stable release Jazzy and Ubuntu 24.04.
You may check my wiki. https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki
You should check if /dev/ttyACM0 exists. "ls /dev/ttyA*" .
The arduino examplea without re-connection will timeout and enter error_loop(), if it failed to connect the agent.
This solved my issue. Thanks.
Issue template
Hardware description: Raspberry Pi 4 Model B
RTOS: Using micro-ROS with Raspberry Pi Pico.
Installation type: Followed the installation steps from Teensy with Arduino section from the Tutorials of micro-ros website.
Version or commit hash: Using humble
Actual behavior
when I run the command
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0
I get the below output
and does nothing. After I unplug the USB and Plug it back I get the below output and all my nodes are active. Which is the expected behavior, but why do I need to unplug and plug the USB every time? How can I solve this?