-
-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: yaw_degrees for imu quaternion #238
Comments
Figured out how to do it 'manually' using the quaternionToYaw function and this tutorial: Feature request remains though |
I need you to be a little more precise... Based on the current architecture, I can "magically" create RPY data only from a specific ROS message type. In your case is
right? |
Our current usecase is sensor_msgs/Imu, so having a But the more awesome and complete implementation would be to 'detect' the Quaternion msg even if it resides as part of another message (Imu/Odometry/etc).
Where the latter three would be added for convenience since (most?) humans tend to think in euler angles rather than quaternions Or perhaps:
|
i know this is what you were going to propose... :) It is a PITA, but doable |
If it was very easy I've would have send a PR instead of a feature request :) Well if message types cannot be distilled, it might be pragmatically done by checking the fields. |
yes, it can be done introspecting this fields of the message... the parsing library is called ros_type_introspection for a reason :) I just have no bandwidth for the time being to do this, I am horribly busy. |
Done. |
Works for imu message, thanks! 👯♂️ |
Or maybe just any quaternion you encounter?
The
yaw_degrees
feature is very convenient for the odometry so thanks for that already! :)Or maybe even also 'roll_degrees' and 'pitch_degrees' as they might be insightful for an imu
The text was updated successfully, but these errors were encountered: