rxplot euler from gazebo
hi guys, i want to plot the orientation of my quadrotor in euler and not in quaterion. is there a opportunity (message) how i can get the angels in euler from gazebo?
thankgs,regards
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
hi guys, i want to plot the orientation of my quadrotor in euler and not in quaterion. is there a opportunity (message) how i can get the angels in euler from gazebo?
thankgs,regards
I had a similar need so I wrote a simple Python node that does this for the quaternion in nav_msgs/Odometry messages. It allows you to select the Euler rotation convention and will also optionally output the Euler angles in degrees. If you want to take a look it's called quat_to_ypr.py in the starmac_tools package (starmac_common stack).
Rotations in ROS are always communicated as Quaternions. You will need to convert them by hand. TF uses Bullet internally which has utility methods to convert to and from Euler angles. See here.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-03-23 02:07:16 -0500
Seen: 446 times
Last updated: Mar 23 '12
Can Gazebo do 2D 'flatland' only simulation
Some part of the robot display below map ?
Gazebo 1.0.x and CUDA in Furete
Rviz2 can't visualize image from Gazebo
p3dx gazebo problem with Fuerte
Problem launching world files using roslaunch
How to use standalone gazebo 1.7.1 with ROS groovy [closed]
Angles for quaternion converter