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

Is there geometry_msgs/Twist for rosserial

asked 2015-03-24 13:16:12 -0500

luketheduke gravatar image

Hi All, I am trying to make a driver for my custom Arduino robot and I would like to have the Arduino parse the twist messages itself and publish /odom messages itself. Is this feasible? I looked through the rosserial packages and I couldn't find any of the geometry messages, so any ideas? Thanks, luketheduke

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-24 15:08:21 -0500

aak2166 gravatar image

Yes. You can #include <geometry_msgs/Twist.h> directly into the Arduino code. Just be sure to put #include <ros.h> first, before any other #include statements.

edit flag offensive delete link more


Thanks that helped!

luketheduke gravatar image luketheduke  ( 2015-03-24 15:49:52 -0500 )edit

Question Tools

1 follower


Asked: 2015-03-24 13:16:12 -0500

Seen: 1,240 times

Last updated: Mar 24 '15