Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] [1524089506.982801]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino #616

Open
FlynnDowey opened this issue Mar 20, 2023 · 5 comments

Comments

@FlynnDowey
Copy link

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:

  • changing the baud rate
  • modifying SerialClient.py and node_handle.h
  • reinstalling rosserial and ros_lib

The error message comes after uploading the HelloWorld example to the Arduino and executing rosrun rosserial_python serial_node.py /dev/ttyACM0.

@nikolpapad
Copy link

Did you manage to find the solution?

@JinK2000
Copy link

JinK2000 commented May 9, 2023

me too! STM32F407+ubuntu20.04(notetic)

  • Only in rare cases does it work:

[INFO] [1683649672.768868]: Requesting topics...
[INFO] [1683649673.098597]: Note: publish buffer size is 512 bytes

  • Most cases report an error like this and i don't know how to solve:

[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

@StohanzlMart
Copy link

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.

@StohanzlMart
Copy link

Just solved it. Got nothing to do with version mismatch. ros.h has some funky defaults (see #354 (comment))

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: #398 (comment))

@StohanzlMart
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants