ros_serial_bridge [closed]

asked 2013-02-23 09:56:37 -0500

KM6VV gravatar image

I'm trying to get ros_serial_bridge working. ROS Electric on Ubuntu 10.04, Arduino IDE 1.03 on XP Pro.

I can talk to the Arduino with a Docklight terminal but not the Arduino terminal (doesn't send CR).

Running ros_serial_bridge on ROS and I get:

Connecting to Arduino on port /dev/ttyACM0 ... Cannot connect to Arduino! Make sure you are plugged in and turned on.

ttyACM0 seen with ls /dev/ttyACM0 when Arduino is plugged in w/ USB.

Any ideas?

Alan

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by KM6VV
close date 2013-02-25 05:42:20

Comments

Do you have permissions to access the /dev/ttyACM0 device?

jarvisschultz gravatar image jarvisschultz  ( 2013-02-24 07:16:25 -0500 )edit

permission didn't seem to make a difference, but adding it to groups did. Now it runs, but I get errors: File "/home/turtlebot/ros_workspace/ros_arduino_bridge/ros_arduino_python/src/arduino_driver.py", line 176, in execute return int(value) ValueError: invalid literal for int() with base 10:

KM6VV gravatar image KM6VV  ( 2013-02-24 12:13:10 -0500 )edit

permission didn't seem to make a difference, but adding it to groups did. Now it runs, but I get these errors:

KM6VV gravatar image KM6VV  ( 2013-02-24 12:13:14 -0500 )edit

Needed to add to group. And remove my sign-on message added for debug of CR/LF. Also needed to be ttyACM0 device.

KM6VV gravatar image KM6VV  ( 2013-02-25 05:41:37 -0500 )edit