Ask Your Question
0

how to write cmd_vel subscribe

asked 2016-05-26 16:28:31 -0500

ghaith gravatar image

hi I am new on ro. and I am try to use teleop twist keyboard package but I don't know how to write a subscribe cmd_vel code for Arduino if any one can give an example or something I can use and if any on can explain how it will work. and I need to know if the pin slot for motor must be in the code

edit retag flag offensive close merge delete

Comments

have you figured this out?

aarontan gravatar image aarontan  ( 2018-06-25 09:38:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-28 01:37:19 -0500

Weiwei gravatar image

ROS Tutorial is a good reference, http://wiki.ros.org/ROS/Tutorials/Wri... . For python source code, you could refer https://github.com/ros-teleop/teleop_... .

edit flag offensive delete link more

Comments

thanks for the answer but I finish this part and I don't know how I can write cmd_vel subscribe this for string msg I think is there any thing for cmd_vel msg

ghaith gravatar image ghaith  ( 2016-05-28 14:25:53 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-05-26 16:28:31 -0500

Seen: 576 times

Last updated: May 28 '16