gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.16k stars 475 forks source link

Changing max_step_size changes the sensor outputs (i.e. angular velocity) #2203

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Anonymous.


I was recently graphing the relative angular velocity of a link(applying torque via ROS' Wrench service) and decided to change the "max step size" in Gazebo GUI parameters from 0.0001 to 0.48bc148513887beb0a57bc5dc7a5ba8497fb3af3. When I did that, the magnitude of the angular velocities decrease by a factor of ~4 for some reason.

Seems like this a major bug in how the angular velocity and almost every physics sensor is being compute since dt (time step) is not being calculated properly.

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).