Ros2 Foxy tf.transformations.quaternion_from_euler equivalent
I'm trying to migrate my old packages from ROS to ROS2. One package needs to convert from quaternions to euler notation, in the first version I implemented my own transformation functions, later I migrated to quaternion_from_euler
from tf.transformations
.
I can only find confusing documentation online. What would be the best approach to use an equivalent for tf.transformations.quaternion_from_euler()
in Python for Ros2 Foxy?