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

How to visualize Quaternions

asked 2019-06-14 00:03:47 -0500

dogh gravatar image

Hello everyone,

How do you visualize a time-series of Quaternion values?

Thank you a lot in advance

edit retag flag offensive close merge delete

Comments

Really just a Quaternion in isolation, or with an attached Position? If the latter, you could use the Pose visualisation / markers or even broadcast as TF and then use the TF display.

Related: #q49045.

gvdhoorn gravatar image gvdhoorn  ( 2019-06-14 02:00:34 -0500 )edit

Only the Quaternion in isolation. Are there any way to do this in RViz or better rqt? Thank you in advance

dogh gravatar image dogh  ( 2019-06-14 11:35:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-06-20 01:51:04 -0500

VitaliyProoks gravatar image

Quaternions represent rotations and cannot be observed directly. But it's possible to see how a quaternion affects, for example, a coordinate frame. So, to visualize a quaternion, you could publish tf messages with the quaternion values you have, and use TF display in RViz to see the result. A quaternion "in isolation" can be treated as a "quaternion with attached position" but with the position set to the origin or to any other fixed point in space.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-06-14 00:03:47 -0500

Seen: 1,408 times

Last updated: Jun 20 '19