ros / geometry

Packages for common geometric calculations including the ROS transform library, "tf". Also includes ROS bindings for "bullet" physics engine and "kdl" kinematics/dynamics package.
173 stars 274 forks source link

Increase the precision of tf_echo quaternion cout #171

Closed agutenkunst closed 5 years ago

agutenkunst commented 6 years ago

I ran into some issue because copy and pasting a quaternion from tf_echo is done with std::precision(3). The lower the precision the less normalized the quaternion will be.

I would like to put this PR as a basis for discussion.

tfoote commented 6 years ago

Can you explain a little bit more about your use case. tf_echo is designed for human readability. If you're trying to capture the values there might be a better solution. Does this still fit on one line, ~ 80 characters? Also how far out of normalized were you getting?

VictorLamoine commented 5 years ago

Please take a look at https://github.com/ros/geometry/pull/186

VictorLamoine commented 5 years ago

This can be closed, #186 was merged and solves this issue too.

tfoote commented 5 years ago

Closing as redundant.