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

Revision history [back]

click to hide/show revision 1
initial version

You just have to integrate the accelerations to get velocity data. Something like this:

velocity_x = velocity_x_previous + accel_x * dt;

It will depend on how good your accelerometers are whether you get a good estimate of the velocities. Also another good use for accelerometers is determining your pitch and roll from the gravity vector, it can help determine if your robot is stuck/tilted.