Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models inserted in the world before enabling the physics do not move #366

Open
diegoferigo opened this issue Jun 30, 2021 · 0 comments
Open

Comments

@diegoferigo
Copy link
Member

For some reason, the last physics alignment #365 has broken one of the tests. In short, in a world without physics, if:

  1. A model is inserted
  2. The simulator is stepped (there's no physics, the model does not move)
  3. The physics plugin is inserted
  4. The model is processed by the physics plugin

In these conditions, before #365 the model would be affected by the physics. Instead, after #365, the model stays still, like it would be static.

# The cube should start falling
assert cube.base_position()[2] < cube_pose.position[2]

This is an edge case we were testing. For the moment, let's keep this behavior broken and disable the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant