Open FlynnDowey opened 1 year ago
Did you manage to find the solution?
me too! STM32F407+ubuntu20.04(notetic)
[INFO] [1683649672.768868]: Requesting topics... [INFO] [1683649673.098597]: Note: publish buffer size is 512 bytes
[INFO] [1683650864.691406]: Requesting topics... [ERROR] [1683650879.695435]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
Anyone ever got a solution to this? I too have this problem.
I installed ros-noetic-rosserial and ros-noetic-rosserial-arduino and also tried the hello world sketch.
Just solved it. Got nothing to do with version mismatch. ros.h has some funky defaults (see https://github.com/ros-drivers/rosserial/issues/354#issuecomment-360833873)
My solution: modify ros.h in lib/ros_lib/ for my hardware to use correct header and thus not try tcp but serial.... (for my full rant see: https://github.com/ros-drivers/rosserial/issues/398#issuecomment-1585569021)
Btw, I'm using PlatformIO (an extension to a real IDE (VSC) not Arduino notepad app) and followed this instruction: https://sites.duke.edu/memscapstone/using-rosserial-to-setup-a-ros-node-on-a-teensy/
Trying to debug this error that I am getting from https://wiki.ros.org/rosserial_arduino/Tutorials/Hello%20World. I have attempted several suggestions from the web but none have worked. I am using an Arduino Leonardo and the version of ros is noetic.
Note the following solutions have not worked:
The error message comes after uploading the HelloWorld example to the Arduino and executing rosrun rosserial_python serial_node.py /dev/ttyACM0.