Open panecho opened 2 years ago
By any chance, what are you currently working on?
https://github.com/ros-simulation/gazebo_ros_pkgs/issues/1363
I am having the same issue. Do you mind trying this out and see if this also happens to you?
By any chance, what are you currently working on?
1363
I am having the same issue. Do you mind trying this out and see if this also happens to you?
Actually, I didn't figure it out. But I got some info which may help you from my weekly debug. 1> Do not use gazebo_ros_pkg for imu simulation, imu simulation without ros api seem to more stable. 2> Try different physics engine install of ode, imu data seem more stable. By the way, all engine got noise data for imu simulation in motion sittuation. Good luck.
Thanks for the suggestion but I have a few question. :)
By trying different physics engine, are you implying that I should try physics engine other than gazebo?
1> Do not use gazebo_ros_pkg for imu simulation, imu simulation without ros api seem to more stable.
I've read the source code of the IMU for and as far as I am concern, here is where they are calculating the IMU sensor data.. By imu simulation without ros api seem to be more stable
, are you implying that the plugin uses ROS API? Cause as far as I am concern, I dont think that they are using any ROSS API in the plugin.
when you lauch gazebo by
roslaunch gazebo_ros empty_world.launch
for ros support, it will load a system plugin which I named ros api, see here which affect the imu data athought i agree with the imu implementation you mentioned,, actually I also review this code before.
for different physics engine mean launch gazebo by gaebo -e ode | bullet | simbody | dart
, add imu, you will find different imu performance with different physics engine.
did you try changing real time update and max step size accordingly to 10000, 0.0001 ?
In my simulation if I change it to 500 hz I get wrong imu readings
Adding noise helps with this. ~0.5 gaussian noise.
Issue: plot result showed as following picture, left is in gazebo, and right is ros topic in ros rqt.<pub topic at 200HZ>
my imu sdf file: