We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm a student and I'm trying to use MuJoCo for elastic solid simulation.
I'm looking for some help with troubleshooting some errors.
Here is a model which explains my question:
<mujoco> <extension> <plugin plugin="mujoco.elasticity.solid"/> </extension> <worldbody> <flexcomp name="softlimb" dim="2" type="mesh" file="test.obj"> <plugin plugin="mujoco.elasticity.solid"> <config key="poisson" value="0.3"/> <config key="young" value="1e8"/> <config key="damping" value="0.002"/> </plugin> </flexcomp> </worldbody> </mujoco>
import time import mujoco.viewer model = mujoco.MjModel.from_xml_path("assets/flex.xml") data = mujoco.MjData(model) n_steps = 5 with mujoco.viewer.launch_passive(model, data) as viewer: start = time.time() while True: step_start = time.time() for _ in range(n_steps): mujoco.mj_step(model, data) viewer.sync() time_until_next_step = model.opt.timestep - (time.time() - step_start) if time_until_next_step > 0: time.sleep(time_until_next_step)
obj file obj_files.zip
Here is a error message.
ValueError: Error: engine error: edge ordering is incoherent between flex and plugin
and I saw this issue. #1647
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm a student and I'm trying to use MuJoCo for elastic solid simulation.
I'm looking for some help with troubleshooting some errors.
Here is a model which explains my question:
minimal XML
minimal Python code
obj file
obj_files.zip
Here is a error message.
and I saw this issue.
#1647
The text was updated successfully, but these errors were encountered: