ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

arduino odom listener

asked 2014-10-04 03:47:31 -0500

mohammad gravatar image

hi everyone

I try to connect arduino to my ROS and i use rosserial_python package with serial_node.py node. Do i need another node which listen to my encoder readings (odom) and is running at same time?? Where could i find it?? Do we have a good package for it? thanks too much:)))

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-10-05 04:14:37 -0500

Wolf gravatar image

No, if you just want to run your code that publishes stuff from arduino, you do not need any other package...

If you want to test that the messages published by your arduino are correctly published you can use (in another shell on your host PC)

rostopic echo /your_topic

or

rostopic hz /your_topic
edit flag offensive delete link more
1

answered 2014-10-05 15:28:49 -0500

If you use only publish the encoder data, then yes. Else, if you directly publish the odom data from the arduino, you don't.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-10-04 03:47:31 -0500

Seen: 414 times

Last updated: Oct 05 '14