![]() | 1 | initial version |
Just to verify, is below what you are seeing when
rxplot /atlas/imu/linear_acceleration/z
![]() | 2 | No.2 Revision |
Just It's an error inherent in the existing LCP solver given performance requirements. You can run simulation slower to verify, is get better results. For example, figure below what you are seeing whenfrom running:
roslaunch atlas_utils atlas.launch
rxplot /atlas/imu/linear_acceleration/z
If you increase physics->solver->iterations from default of 40 to 80, the oscillation magnitude decreases (the spike is just an artifact of parameter update):
Setting iterations to 500 reduces oscillation magnitudes even further:
![]() | 3 | No.3 Revision |
It's an error inherent in the existing LCP solver given performance requirements. You can run simulation slower to get better results. For example, figure below from running:
roslaunch atlas_utils atlas.launch
rxplot /atlas/imu/linear_acceleration/z
If you increase physics->solver->iterations from default of 40 to 80, the oscillation magnitude decreases (the spike is just an artifact of parameter update):
Setting iterations to 500 reduces oscillation magnitudes even further:
Alternatively, you can low pass filter the data. As an extremely crude example, exponential filter where
accel(new) = (1 - e) * accel(new) + e * accel(old)
where e = 0.9
leads to: