ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Ros2 Foxy tf.transformations.quaternion_from_euler equivalent

asked 2021-03-02 02:30:51 -0500

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?

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
0

answered 2022-03-07 06:16:49 -0500

tnajjar gravatar image
edit flag offensive delete link more
0

answered 2021-03-02 14:41:57 -0500

tfoote gravatar image

tf.transformations is a fork of https://github.com/cgohlke/transforma... This package has been deprecated "Transformations.py is no longer actively developed and has a few known issues and numerical instabilities."

One of their recommended alternatives is to use transforms3d https://matthew-brett.github.io/trans...

This is currently available as a pip dependency: https://index.ros.org/d/python-transf... via rosdep.

Effort to package this into a ROS package to make it more resuable would be appreciated. Or to push it into upstream packaging efforts would also work.

edit flag offensive delete link more
0

answered 2021-03-02 05:29:10 -0500

Ok so I'm getting back to my original implementation. It's kind of sad to see how the planned ROS roadmap put critical functionality out without providing any solid and documented alternative

edit flag offensive delete link more
0

answered 2021-03-02 03:09:22 -0500

Have a look at this similar thread.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2021-03-02 02:30:51 -0500

Seen: 2,575 times

Last updated: Mar 07 '22