ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Calculate speed given linear twist message

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

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 -0500

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 -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: 2020-08-10 03:20:29 -0500

Seen: 396 times

Last updated: Aug 10 '20