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

How to calculate odom.twist.angular value

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

nouf gravatar image

Hello,

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

Comments

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
0

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

Question Tools

1 follower

Stats

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

Seen: 436 times

Last updated: Sep 15 '21