-
Notifications
You must be signed in to change notification settings - Fork 822
Can't render the model which include deformable objects #373
New issue
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
Comments
I am having the exact same issue. With the deformable object, I get a segmentation fault. With the same .xml and the deformable object commented out, I do not get the error. I have the same Desktop profile as above. Has this bug been identified yet? |
this same error: Segmentation fault. Please help. |
Same problem here. Both in virtualbox Ubuntu 16.04, python3.7, mujoco2 and also in macos 10.14.4, python3.7, mujoco2.
GDB output from sim.render(600, 600):
Onscreen/offscreen rendering does not matter. Same problem even when using python 3.6.5_1.
|
Ok, found where the problem is, its the if you try file from previous post, you can see it falls on update:
With that line commented out, it gets to render and fall there (as there is nothing to render I guess). Next might be checking the differences between vars for soft-body scene vs non-soft body one and vars from basic.cpp from mujoco installation for the soft-body model (because it works there), but I do not know how to do that. |
Until solved, going with tempomary solution: visual/viewer in C++ connected via UDP/file IO to python. Qpos are than being send as timeframes and viewer loads them. |
Found out where the problem is. Its not deformable object itself, but the skin. It seems like skins are not supported for some reason. If you remove skin, even the carpet works. |
I encounter the same bug and after removing the skin part, the render works, but I need the skin attribute to make the structure look like a cloth. I am just wondering if anyone knows in which way I can use the skin because without the skin, I can only see the internal structure of a cloth composite object, lacking the visual attribute. |
I have the same problem. It works without skin. But I need skin. How to add skin in mujoco-py? Really appreciate it if anyone helps. |
Hello, have you solved this problem? Have you made it work with skin? Thanks. |
I did not bother to solve in python, working solution if you need the viewer is #373 (comment) I can post the code public (https://github.com/wutter/mujoco-py-to-c-viewer) |
It would be helpful if you could post the code with a link. Thanks :) |
I got it. Thank you very much. |
hi! |
Sorry, I did not put much docs on how to use.
There is also space for improvement, it does export active forces, so you could display them, but I did not bother as it was not importatnt for my use. |
Thanks for the quick reply, |
Actually, it is already continuous in mujoco sense, that it generates 1 frame each timestep (setted up in mujoco) |
443#issuecomment-521965723 (just so its all at one place). |
Adam, thanks for your prompt response. What I want to achieve is to detect the corner of a cloth when the cloth is being manipulated. We need the skin displayed all the time. It is infeasible to pause the motion and display skin as we do not know when to pause. Here, the cloth is being maniplated and move continuously. Do you mean that this kind of continous motion has not been fixed? |
Has someone solved this issue? I want to create a GYM environment with a deformable object with the Fetch robot. I can include a rope but not a deformable object with Skin. Some comments talk about removing the skin. How does an object, e.g. a box would look like? I am using this currently for loading a box (which does not work). Thanks! |
Is anyone working on solving this problem? |
after this change. success to use model contain skin tag |
Looking for solutions to this problem, the above mentioned solution does not work for me @fantasyRqg |
Install instructions
make sure you have installed the gcc |
Many thanks. It solved my problem. You are a genius |
Describe the bug
The
.xml
file which I used include cloth (composite
).If I render the model,like
It will come out the bug below
Expected behavior
I really want to use the Deformable objects in simulation.
and I want to observe what happened by render
Error Messages
Desktop:
Environment
output of:
echo $LD_LIBRARY_PATH
/home/hsk/.mujoco/mujoco200/bin
output of:
echo $HOME
/home/hsk
output of:
echo $USER
hsk
The text was updated successfully, but these errors were encountered: