Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Measure IMU orientation with respect to the world (noetic)#1057

Merged
scpeters merged 2 commits intoros-simulation:noetic-develfrom
scpeters:imu_orientation_noetic
Mar 25, 2020
Merged

Measure IMU orientation with respect to the world (noetic)#1057
scpeters merged 2 commits intoros-simulation:noetic-develfrom
scpeters:imu_orientation_noetic

Conversation

@scpeters
Copy link
Copy Markdown
Member

Report the IMU orientation from the sensor plugin with respect to the world frame.
This complies with convention documented in REP 145: https://www.ros.org/reps/rep-0145.html

This ports #1051 from Melodic forward to Noetic and changes the default from retaining the legacy behavior (initialOrientationAsReference == true) to complying with REP 145 by default (initialOrientationAsReference == false). It also prints a deprecation warning if the user explicitly sets initialOrientationAsReference to true.

cc @jacobperron

Report the IMU orientation from the sensor plugin with respect to the world frame.
This complies with convention documented in REP 145: https://www.ros.org/reps/rep-0145.html

In order to not break existing behavior, users should opt-in by adding a new SDF tag.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Copy link
Copy Markdown
Collaborator

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One typo, otherwise LGTM

Comment thread gazebo_plugins/src/gazebo_ros_imu_sensor.cpp Outdated
Change default value of initialOrientationAsReference to false
and print deprecation warning if user explicitly sets it to true.
@scpeters scpeters force-pushed the imu_orientation_noetic branch from d00232d to c00f2a6 Compare March 25, 2020 19:06
@scpeters scpeters merged commit 94d1aa4 into ros-simulation:noetic-devel Mar 25, 2020
@scpeters scpeters deleted the imu_orientation_noetic branch March 25, 2020 19:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants