Skip to content

Unstable simulation of joint limits for a hinge joint #182

@slecleach

Description

@slecleach

I've been using warp for a few weeks and it's definitely a very impressive, well executed project!

Currently, I am having trouble simulating a hinge joint using warp.sim.
I set the joint range to "-200 45" (in degrees), the rotating link is correctly stopped by the 45deg limit.
But when I rotate the link towards the -200deg limit the simulation breaks as soon as it gets close to -180deg.

image

Also I have created a minimal working example here:
slecleach#1
You can easily replicate the plot above by running this file:
https://github.com/slecleach/warp/blob/minimal_example/examples/env/env_rotor.py

I am not sure what is causing this, I would appreciate if you could share some insights about this phenomenon.
Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions