You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug Report] Acceleration and Linear velocities of Physx off for small masses and with contact solver #819
The measured accelerations and velocities given by the Physx RigidBodyAPI do not seem reasonable in two cases:
when a rigid body with a small mass is used.
when a sphere is kept at a constant velocity (set every physx step)
The error occurred during the development of the IMU sensor #619
Steps to reproduce
Added a test with a RigidBodyView on a robot's base and the imu_link and did the hand computation of the respective transformation. To reproduce run the test test_offset_calculationhere .
Added a test with a cube and sphere on a GroundPlane which sets their velocities at every time step. While the cube velocities and accelerations stay approximately constant, the accelerations of the cube first decrease and then start to increase again. To reproduce run the test test_constant_velocityhere.
@pascal-roth - we found a bug with the acceleration compute in PhysX when the velocity setters are used on CPU and GPU. Internally we finite difference the velocities over the time step for rigid bodies and the pre-sim velocity buffer was not updated when using the getters, so the values were incorrect for the first step after the set.
The fix will make it into the next Isaac update.
The small mass case for which @Mayankm96 helped with a repro we are still investigating.
Activity
pascal-roth commentedon Aug 13, 2024
@Mayankm96 for viz
Mayankm96 commentedon Aug 13, 2024
@Dhoeller19, this is currently blocking the IMU MR. @preist-nvidia, any advice here?
preist-nvidia commentedon Aug 15, 2024
Pierre will have a look and let you know.
preist-nvidia commentedon Aug 30, 2024
@pascal-roth - we found a bug with the acceleration compute in PhysX when the velocity setters are used on CPU and GPU. Internally we finite difference the velocities over the time step for rigid bodies and the pre-sim velocity buffer was not updated when using the getters, so the values were incorrect for the first step after the set.
The fix will make it into the next Isaac update.
The small mass case for which @Mayankm96 helped with a repro we are still investigating.
pascal-roth commentedon Aug 30, 2024
@preist-nvidia thanks for the update