Ask Your Question
1

Cannot Subscribe or Publish with latest release & Arduino Diecimila

asked 2012-03-16 15:45:55 -0500

srlake gravatar image

I have installed and compiled the latest version of the rosserial stack. I have been attempting to run the samples (Hello World, etc.), after I wasn't able to get my own code to work. It turns out, none of the sample work properly.

For example, the hello world sample, when I start the python client there are no errors, but the topic from the arduino is never published.

i.e. run: roscore rosrun rosserial_python serial_node.py /dev/ttyUSB0
rostopic list

The topic is not there.

I have verified that the arduino is running properly, and on the correct port (and no port errors are given). The only output is: [INFO] [WallTime: 1331948389.955027] ROS Serial Python Node [INFO] [WallTime: 1331948389.956859] Connected on /dev/ttyUSB0 at 57600 baud

Device is Diecimila, running on ros-electric/Ubuntu 11.04 Natty

No errors in making the packages, etc.

edit retag flag offensive close merge delete

Comments

Do you see the message "Lost sync with device, restarting..."?

Dustin gravatar image Dustin  ( 2012-03-16 17:47:04 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-05 07:11:16 -0500

pascal.fortin gravatar image

Maybe you could try with another Arduino if you have one nearby. I completed these tutorials a few weeks ago using indigo-ubuntu 12.04 lts with a duemilanove just for configuration informations and to confirm that it is supposed to work.

Best regards,

Pascal

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-03-16 15:45:55 -0500

Seen: 350 times

Last updated: Nov 05 '14