How to get yaw, pitch, roll from a quaternion
Hi, I'm a ros beginner and I don't quite understand the euler_from_quaternion function from tf.transformations. I have an IMU sensor which returns a quaternion representing the rotation from the navigation frame (ENU) to the sensor. What I would like to have are yaw, pitch and roll angles. For that I know I could use euler_from_quaternion with the second argument rzyx or szyx. My question is should I use 'rzyx' or 'szyx'?
Did you search through prior question?
kscottz thanks for your pointer. I did but I couldn't find Matrix3x3 which has the getRPY method in python. It's not listed here https://docs.ros.org/en/melodic/api/t...; What am I missing?