You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation type: Arduino 1.8.19 IDE (Windows), micro-ros-agent (built from source and tried docker) on Ubuntu 20.04
Version or commit hash: galactic
The Issue
I am able to compile and upload the simple publisher example to the Arduino zero, however, when I plug it into the ubuntu machine running ROS2 galactic, the micro-ros-agent sits there at init and never connects (I added a blinky LED to the error section and I can see the zero eventually errors out). Compiling and uploading the exact same code to a teensy 4.0 from the same IDE and then plugged into the same ubuntu machine works fine (connects right away).
The Question
When I setup the Arduino IDE initially and installed the SAMD board files for the Arduino Zero, it grabbed the latest version and it successfully compiled and uploaded the code without having to patch the platform.txt file. Does this file need to be patched for the Arduino Zero (or at all if it compiles without it)? I assumed it was just for compilation, but I went ahead and tried it and upon doing so got errors during compilation. The patch file is for 1.6.12 and isn't compatible with the latest board files so I had to edit it to find g++. After that, I kept getting messages about not being able to find samd.h (iirc). I then tried downgrading the board file to 1.6.12 to match and then patched the platform.txt file but then got message about not being able to find sam.h (iirc). I'm not sure if I'm heading down a rabbit hole with this platform.txt file. Is it just for compilation?
The text was updated successfully, but these errors were encountered:
You should not modify your SAMD platform.txt. The platform.txt patch is used to included support for pre-compiled libraries on SAM (Arduino Due), check arduino/ArduinoCore-sam#115 and #34.
As for the communication, check that you are using the correct serial port. micro-ROS uses the regular Serial as the default output port: detail.
Issue template
The Issue
I am able to compile and upload the simple publisher example to the Arduino zero, however, when I plug it into the ubuntu machine running ROS2 galactic, the micro-ros-agent sits there at init and never connects (I added a blinky LED to the error section and I can see the zero eventually errors out). Compiling and uploading the exact same code to a teensy 4.0 from the same IDE and then plugged into the same ubuntu machine works fine (connects right away).
The Question
When I setup the Arduino IDE initially and installed the SAMD board files for the Arduino Zero, it grabbed the latest version and it successfully compiled and uploaded the code without having to patch the platform.txt file. Does this file need to be patched for the Arduino Zero (or at all if it compiles without it)? I assumed it was just for compilation, but I went ahead and tried it and upon doing so got errors during compilation. The patch file is for 1.6.12 and isn't compatible with the latest board files so I had to edit it to find g++. After that, I kept getting messages about not being able to find samd.h (iirc). I then tried downgrading the board file to 1.6.12 to match and then patched the platform.txt file but then got message about not being able to find sam.h (iirc). I'm not sure if I'm heading down a rabbit hole with this platform.txt file. Is it just for compilation?
The text was updated successfully, but these errors were encountered: