Touch Grid Sensor Installation #1967
Replies: 6 comments
-
Does the sensor not work out of the box? |
Beta Was this translation helpful? Give feedback.
-
I think it automatically works in Ubuntu, but not for Mac. Not sure if this was intended behavior? |
Beta Was this translation helpful? Give feedback.
-
Are the comments in #313 relevant for your problem? |
Beta Was this translation helpful? Give feedback.
-
Can you explain under what circumstance you were encountering this? i.e. was it:
|
Beta Was this translation helpful? Give feedback.
-
This is in a Python program
I was building from source
Yes, I built the Python bindings myself. I passed in the same as the MUJOCO_PATH. I imagine that we would need to pass in a different path maybe? Would this just be the path to the plugin directory under the MuJoCo root directory? |
Beta Was this translation helpful? Give feedback.
-
I got similar issue in Ubuntu 22.04, in my case: A C++ or Python program? Were you building MuJoCo libraries from source or downloading the DMG? Were you building your own Python bindings? If so, what did you pass for MUJOCO_PLUGIN_PATH? I built mujoco and export env params using the follow steps:
Then, when I run:
I got "XML Error: unknown plugin 'mujoco.sensor.touch_grid" After checking the source code of main progrom of simulate app, I found that it looking for plugin in "mujoco_plugin" folder inside the same directory of built binary file of simulate app.
I'm not sure if my solution correct or not, but it works for me. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am currently looking into the grid touch sensor plugin. However, I am a little confused on how to install this plugin. I was wondering if someone could walk me through the steps or point me to the necessary documentation to install this plugin? Also, would it be possible for someone to include how the to get readings from the sensor using the Python Bindings?
Beta Was this translation helpful? Give feedback.
All reactions