Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

IMU Linear Accelerations do not work correctly #392

Open
s1887252 opened this issue Apr 2, 2020 · 2 comments
Open

IMU Linear Accelerations do not work correctly #392

s1887252 opened this issue Apr 2, 2020 · 2 comments
Labels

Comments

@s1887252
Copy link

s1887252 commented Apr 2, 2020

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?

@musamarcusso
Copy link
Member

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.

@HashirZahir
Copy link

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.

ros-simulation/gazebo_ros_pkgs#1051

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants