How do i use tf2_ros to convert from quaternions to euler?
Hello guys,
After a lot of time of setup i finally managed to be able to import tf2_ros in python3. I really would like to use tf2_ros to convert the orientation message of the odometry to roll, pitch and yaw angles. I read that you need to use tf2 to transform it.
I imported tf2_ros and tried the function:
(r,p,y) = tf2_ros.euler_from_quaternion(ori_list)
and
(r,p,y) = euler_from_quaternion(ori_list)
Both resulted in an error that euler_from_quaternion is not defined or that it is not an attribute of tf2_ros
What do i need to do to use the transformation? I preferably would like it to work with python3