mujoco_mpc icon indicating copy to clipboard operation
mujoco_mpc copied to clipboard

error running ./mjpc

Open lrchit opened this issue 1 year ago • 9 comments

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

lrchit avatar Sep 25 '24 15:09 lrchit

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

yuvaltassa avatar Sep 26 '24 15:09 yuvaltassa

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

yuvaltassa avatar Sep 26 '24 15:09 yuvaltassa

@lrchit which task produces this error?

thowell avatar Sep 26 '24 15:09 thowell

@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?

yuvaltassa avatar Sep 26 '24 15:09 yuvaltassa

@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 avatar Sep 26 '24 16:09 lrchit

@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?

lrchit avatar Sep 26 '24 16:09 lrchit

@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?

Did you figure this out?

husnoo avatar Dec 25 '24 15:12 husnoo

Running into same issue as well. Compiled myself on Linux 24.04 LTS with a separate mujoco 3.2.3 library

asd417 avatar May 20 '25 19:05 asd417

Figured out.

The reason I was getting this issue is because I was compiling libmujoco.so.3.2.3 from the official mujoco 3.2.3 repo and using LD_LIBRARY_PATH to the compiled library.

Instead, I compiled the libmujoco.so.3.2.3 using the mujoco-src provided in this repo at build/_deps/mujoco-src

asd417 avatar May 20 '25 23:05 asd417