Uuv_simulator: IMU Linear Accelerations do not work correctly

Created on 2 Apr 2020  ·  2Comments  ·  Source: uuvsimulator/uuv_simulator

As stated at this link (in a different context but about the same topic)

https://answers.ros.org/question/12616/interpretation-of-imu-data-from-the-gazebo_ros_imu-plugin/

the UUV IMU implementation (as far as the Linear Accelerations are concerned) should be not correct.

Is it really like that?

bug

All 2 comments

Hi @s1887252, the IMU is adapted from the Rotors Simulator and basically reads the linear acceleration from link https://github.com/uuvsimulator/uuv_simulator/blob/master/uuv_sensor_plugins/uuv_sensor_ros_plugins/src/IMUROSPlugin.cc#L183
But I recall having problem with the linear acceleration from Gazebo using the ODE engine with the quick algorithm. I can try changing the default algorithm to world to see if it behaves differently.

I am not sure if this is related, but gazebo recently updated its plugin to report IMU orientation from world frame. I was facing some issues in my other project due to its old behaviour in terms of body orientation vs world orientation, but this pull request claims to fix it.

https://github.com/ros-simulation/gazebo_ros_pkgs/pull/1051

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dbcesar picture dbcesar  ·  5Comments

Timple picture Timple  ·  24Comments

hughhugh picture hughhugh  ·  5Comments

atomoclast picture atomoclast  ·  23Comments

tve picture tve  ·  17Comments