Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

rosserial, Arduino and uArm

Hi guys,
I`m trying to control my uArm (made by uFactory) via ROS, which has a Arduino UNO in it.
I installed as tutorials wrote and could run all the examples.
Then I modified "float64_test" example and added "#include <eeprom.h> #include <uf_uarm.h>" to the codes.
When I added the sentence "UF_uArm uarm; ", which tries to initialize the uArm, the connection failed as:

$ rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB0
[INFO] [WallTime: 1424100015.682196] ROS Serial Python Node
[INFO] [WallTime: 1424100015.685933] Connecting to /dev/ttyUSB0 at 57600 baud
/opt/ros/indigo/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: 1424100032.791215] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

The version of rosserial is Indigo so I think there shouldn`t be mismatch in versions...
I already searched for many solutions but all failed.
Anyone have any idea?
Thank you so much!!