I'm practising rosserial-arduino. When I first boot my virtual machine running Ubuntu14.04 with Indigo installed, and run serial_node.py, It is OK.
root@ling-virtual-machine:~# rosrun rosserial_python serial_node.py /dev/ttyACM0
[INFO] [WallTime: 1448193768.523920] ROS Serial Python Node
[INFO] [WallTime: 1448193768.534337] Connecting to /dev/ttyACM0 at 57600 baud
[INFO] [WallTime: 1448193773.248642] Note: publish buffer size is 280 bytes
[INFO] [WallTime: 1448193773.249588] Setup publisher on chatter [std_msgs/String]
Then I abort it (^c) and connect arduino to win7(host) and upload another program. When I reconnect to ubuntu and try to open serial port, this error occur.
root@ling-virtual-machine:~# rosrun rosserial_python serial_node.py /dev/ttyACM0
[INFO] [WallTime: 1448195076.373184] ROS Serial Python Node
[INFO] [WallTime: 1448195076.451019] Connecting to /dev/ttyACM0 at 57600 baud
[ERROR] [WallTime: 1448195093.843222] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
And I rebooted ubuntu and redo the same thing. results are the same. succeed on first try and fail on the second. I'm using ros_lib generated by catkin. I really wonder why.
Originally posted by Gure Ling on ROS Answers with karma: 3 on 2015-11-22
Post score: 0