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

Messages for velocity and acceleration

asked 2012-02-20 21:05:25 -0500

LucaGhera gravatar image

Hi all,

is there a message which contains linear and rotational velocities and accelerations on the three axis?

I toke a look in the geometry and navigation messages but I didn't find what I need.

I'm looking for something similar to geometry_msgs::Twist + accelerations.


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-02-20 21:13:45 -0500

Enrique gravatar image


You might take a look at the sensor_msgs::Imu here. It comes with angular_velocity and linear_acceleration fields. It doesn't have linear velocities though.

If you are using an IMU, that's what you are looking for. Otherwise, to my best knowledge, you'll have to make your own msg (see here how to do so).


edit flag offensive delete link more


@Enrique Thanks, actually I have to send the velocities and accelerations of my mobile base. It isn't an IMU. I know how to make new messages, however I was looking for an existing solution in order to reuse as much as I can.

LucaGhera gravatar image LucaGhera  ( 2012-02-20 21:51:31 -0500 )edit

I would recommend publishing both TwistStamped and Imu topics simultaneously, with identical time stamps.

joq gravatar image joq  ( 2012-02-21 04:26:48 -0500 )edit

answered 2012-02-21 02:59:02 -0500

DimitriProsser gravatar image

The geometry_msgs/Twist message provides with linear and angular velocities, but that's the closest one that I know of by default. The easiest I can think of is something like:

geometry_msgs/Twist velocities
geometry_msgs/Vector3 accelerations
edit flag offensive delete link more

Question Tools


Asked: 2012-02-20 21:05:25 -0500

Seen: 5,070 times

Last updated: Feb 21 '12