Skip to content

How to initialize objects in collision free random states? #47

Discussion options

You must be logged in to vote

Your approach is correct, so this seems to me like a mujoco-py issue. One idea to work around it could be to look at efc_force or qfrc_constraint -- these should be 0 if and only if there are no contacts (and your model doesn't use constraints).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by erez-tom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants