Skip to content

[Bug Report] Acceleration and Linear velocities of Physx off for small masses and with contact solver #819

Closed
@pascal-roth

Description

@pascal-roth

Describe the bug

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_calculation here .

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_velocity here.

System Info

  • Commit: 1b8e2c0
  • Isaac Sim Version: 4.1.0-rc.7+4.1.14801.71533b68.gl
  • OS: Ubuntu 20.04
  • GPU: RTX 4090
  • CUDA: 12.2
  • GPU Driver: 535.183.01

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

  • Expected behavior in the test is achieved

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingisaac-simThis issue is related to Isaac Sim

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions