mujoco-simulink-blockset icon indicating copy to clipboard operation
mujoco-simulink-blockset copied to clipboard

Showing Error while replacing the dummy.xml with my written xml file

Open rishabkr29 opened this issue 1 year ago • 5 comments

what should i do to deal with this error ? also I am using MATLAB 23a version. Screenshot 2023-12-13 160810

rishabkr29 avatar Dec 14 '23 07:12 rishabkr29

I do not see an error in your screenshot

vmanoj1996 avatar Dec 16 '23 18:12 vmanoj1996

Here is the error it is showing. Screenshot 2023-12-17 002014

rishabkr29 avatar Dec 16 '23 18:12 rishabkr29

Test your robot xml outside MATLAB first. In case your model xml file has a problem, you can find the exact reason by doing so. For doing this, simply goto the blocket folder. If you explore under lib directory, you can find a simulate executable (simulate on linux, simulate.exe on windows). Run it from file explorer and load your model xml.

vmanoj1996 avatar Dec 16 '23 18:12 vmanoj1996

Test your robot xml outside MATLAB first. In case your model xml file has a problem, you can find the exact reason by doing so. For doing this, simply goto the blocket folder. If you explore under lib directory, you can find a simulate executable (simulate on linux, simulate.exe on windows). Run it from file explorer and load your model xml.

I have tried my model, it is working in the simulator. Also other built in models are showing the same error.

rishabkr29 avatar Dec 16 '23 18:12 rishabkr29

Hi, I faced the same issue. Could you please get rid of all sensor sections in XML? I hope it should be solved.

Kcygt avatar May 13 '24 12:05 Kcygt