ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to calculate odom.twist.angular value

asked 2015-05-03 12:45:02 -0500

nouf gravatar image


I'v made my own odometry code and I succeed with determining the robot's position correctly.

But I need to know how to calculate the angular velocity?

What I did is I divided delta theta by delta time, but the results doesn't seem to be correct.

edit retag flag offensive close merge delete


Could you give detail about your robot?

gokhan.acer gravatar image gokhan.acer  ( 2021-09-15 05:35:33 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-09-15 05:35:12 -0500

gokhan.acer gravatar image

Angular velocity can be calculated using IMU. If you don't want to use it, you can use kinematic equations to calculate it. It depends on your robot's model (differential robots, Ackerman, etc.). For example: Differential kinematics

edit flag offensive delete link more

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


Asked: 2015-05-03 12:45:02 -0500

Seen: 321 times

Last updated: Sep 15 '21