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

Calculate speed given linear twist message

asked 2020-08-10 03:20:29 -0600

farofaro gravatar image

I have a twist message and want to know what the speed of my robot.

Would it just be sqrt(twist.linear.x^2 + twist.linear.y^2)?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-08-10 16:33:58 -0600

praskot gravatar image

Yes! (for a 2D system).

edit flag offensive delete link more

Comments

Is the equation similar for 3D systems (sqrt(twist.linear.x^2 + twist.linear.y^2+twist.z^2))?

Akr2712 gravatar image Akr2712  ( 2021-04-11 11:51:51 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-08-10 03:20:29 -0600

Seen: 605 times

Last updated: Aug 10 '20