Odometry orientation in radians is giving me weird numbers
I am trying to better understand the information I am receiving from odometry.
oquat = msg.pose.pose.orientation
_, _, yaw = euler_from_quaternion([oquat.x, oquat.y, oquat.z, oquat.w])
I expect yaw to be a number between 0 and 2*pi or maybe between -pi and +pi. It doesn't seem to be doing that which means I am misunderstanding what yaw means in this context. Can you help me better understand? Here is the data for one full 360 degree rotation for a Turtlebot3 in Gazebo.
@pitosalas: please restore your original question.
The fact you made a mistake which resulted in what you reported is not sufficient reason to remove your question.
There's a good chance others could have made similar mistakes, and they would still be helped by seeing how you diagnosed and eventually found a solution.
I would recommend you revert the edit to your OP and post your solution as an answer. That will clearly show your question was answered.