Im trying to connect my Arduino Uno to Gazebo simulator via ROS to control a robot model.
I set up the installation of rosserial according to the tutorial and moved on to the hello world tutorial. However when I want to connect my arduino Uno with:
rosrun rosserial_python serial_node.py _port:=/dev/ttyACM0 (Im sure I have the correct serial port)
I get the following message:
[INFO] [WallTime: 1414579866.487628] ROS Serial Python Node [INFO] [WallTime: 1414579866.493390] Connecting to /dev/ttyACM0 at 57600 baud /home/max/catkin_ws/install/lib/python2.7/dist-packages/rosserial_python/SerialClient.py:336: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information. self.pub_diagnostics = rospy.Publisher('/diagnostics', diagnostic_msgs.msg.DiagnosticArray) [ERROR] [WallTime: 1414579883.599380] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
I already reinstalled rosserial, but that didn't help.
Anyone with an idea?
Thanks in advance!
Post score: 4
Comment by MKI on 2014-10-29:
Can you please specify which version of ROS you are using and also have you made sure that you have right the serial port settings on your sketchbook (i.e, have you selected the right board, have you checked the serial port you are using etc...) ?
Comment by gowtham raja on 2019-11-26:
hi can u help me to how to interface with arduino