Arduino zero rosserial tutorial
Hi
I have an arduino zero, connected to native port, Arduino IDE 1.8.7, Ubuntu 18.04 and ROS melodic.
I did the rossserial arduino tutorial Hello World, to publish something to a ros topic. link text
My commands:
roscore
separate terminal
rosrun rosserial_python serial_node.py _port:=/dev/ttyACM0 _baud:=57600
The command window shows this:
[INFO] [1541675538.966820]: ROS Serial Python Node
[INFO] [1541675538.978137]: Connecting to /dev/ttyACM0 at 57600 baud
[INFO] [1541675541.090206]: Requesting topics...
[ERROR] [1541675556.094888]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
If think I have tried nearly everything. deinstall and install it, switched the computer off and on, tried with multiple baudrates (it is not hardcode in the .ino file, since I use the file form the tutorial, checked the usb port, tried commands, #define USE_USBCON
, ros::spinOnce()
, tried to set the baudrate in the .ino file: nodehandle.getHardware()->setBaud(57600);
Nothing works and more surprisingly if I do the same procedure with an Arduino Uno it works. They should have the same architecture?
Does someone know where the mistake could be?
Thanks
I am having a very similar issue, but with Arduino Due (see issue link). Maybe the same cause? No solution found yet...
I try since two weeks and no solution in sight.. Could be that it is the similar issue, but I don't know. But after you push the reset button it works? not in my case.
@gab27 Could you share the solution that worked for you, please. Im stuck exactly at the same issue on Ubuntu 20.04 and ROS noetic