google-deepmind / mujoco_mpc

Real-time behaviour synthesis with MuJoCo, using Predictive Control
https://github.com/deepmind/mujoco_mpc
Apache License 2.0
1.06k stars 157 forks source link

error running ./mjpc #345

Closed lrchit closed 1 month ago

lrchit commented 1 month ago

Hi,

Thanks for your incredible work of mujoco_mpc! I'm trying to use it on my Ubuntu 20.04, but after every thing went well like this: image I ran cd /bin and ./mjpc and went across this: image with mujoco screen: image

Could anyone tell me what happened there? Thanks in advance!

Best, Ruochen

yuvaltassa commented 1 month ago

Control limits are required for all actuators, is the error message unclear?

yuvaltassa commented 1 month ago

Unless you are saying that you ran MJPC at HEAD, in which case we might have a model which does not comply with this requirement, in which case we have a bug 🙂

cc @thowell

thowell commented 1 month ago

@lrchit which task produces this error?

yuvaltassa commented 1 month ago

@thowell I don't think OP reached the point where they even selected a task. IIUC this just happened to them at the launch of the app?

lrchit commented 1 month ago

@lrchit which task produces this error?

I am still new to Mujoco MPC and have just finished compiling the source code. When I try to run ./mjpc, I encounter those above. Could you provide any suggestions on how to resolve this?

lrchit commented 1 month ago

@thowell I don't think OP reached the point where they even selected a task. IIUC this just happened to them at the launch of the app?

Yes, I just ran ./mjpc and the error message appeared. Should the tasks be specified after ./mjpc?