# How to calculate odom.twist.angular value

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.

Could you give detail about your robot?