Ask Your Question
0

Can I plot Euler angles in rxbag? [closed]

asked 2012-11-15 05:31:21 -0600

I would like to use rxbag to plot the yaw angle I obtain from a localization algorithm, however the orientation in geometry_msgs::PoseStamped (and most other messages) is given in quaternions. Is it possible to somehow convert that to directly to Euler angles to plot them in the GUI?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by georgebrindeiro
close date 2012-11-15 09:15:00

1 Answer

Sort by » oldest newest most voted
1

answered 2012-11-15 08:46:40 -0600

Thomas D gravatar image

You can use the script listed at this answer to subscribe to quaternions that are published from your bag file, convert them to Euler angles, and then republish as RPY in NWU coordinates. You can then plot your Euler angles with rxplot. Use the same node multiple times while remapping topics and you can visualize Euler angles from multiple sources simultaneously.

edit flag offensive delete link more

Comments

many thanks!

georgebrindeiro gravatar imagegeorgebrindeiro ( 2012-11-15 09:14:49 -0600 )edit

Question Tools

Stats

Asked: 2012-11-15 05:31:21 -0600

Seen: 311 times

Last updated: Nov 15 '12