We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dear Colleagues,
I was having trouble in converting the URDF file of Single Leg Hopper in mujoco , I tried adding
<mujoco> <compiler meshdir="C:\Users\Akanksha Mishra\Downloads\mujoco-3.1.6-windows-x86_64\model\meshes" balanceinertia="true" discardvisual="false" /> <worldbody> <light pos=".4 -.4 .3" dir="-2 2 -1.5" diffuse=".6 .6 .6"/> <light pos="-.2 -.4 .3" dir="1 2 -1.5" diffuse=".6 .6 .6"/> <geom type="plane" size=".5 .5 .01"/> <body name="ball" pos="0 0 0.05"> <freejoint/> <geom size=".03"/> </body> <body name="hammer" pos="-.05 0 0.18"> <joint axis="0 1 0"/> <geom type="capsule" size=".01" fromto="0 0 0 -.15 0 0"/> <geom type="box" size=".02 .02 .03" pos="-.15 0 0"/> </body> </worldbody> </mujoco>
but when it gets open in Mujoco, the object (robotic leg as given below) falls immediately.
My XML file looks somewhat like this-
<?xml version="1.0" ?> <robot name="hopper"> <mujoco> <compiler meshdir="C:\Users\Akanksha Mishra\Downloads\mujoco-3.1.6-windows-x86_64\model\meshes" balanceinertia="true" discardvisual="false" /> <worldbody> <light pos=".4 -.4 .3" dir="-2 2 -1.5" diffuse=".6 .6 .6"/> <light pos="-.2 -.4 .3" dir="1 2 -1.5" diffuse=".6 .6 .6"/> <geom type="plane" size=".5 .5 .01"/> <body name="ball" pos="0 0 0.05"> <freejoint/> <geom size=".03"/> </body> <body name="hammer" pos="-.05 0 0.18"> <joint axis="0 1 0"/> <geom type="capsule" size=".01" fromto="0 0 0 -.15 0 0"/> <geom type="box" size=".02 .02 .03" pos="-.15 0 0"/> </body> </worldbody> </mujoco> <link name="world"/> <joint name="fixed" type="fixed">
Please guide , what could be a possible solution.
The text was updated successfully, but these errors were encountered:
There is not enough information in this issue for us to help you. From a cursory look it seems like "hammer" is supposed to be a child of "ball"?
Sorry, something went wrong.
No branches or pull requests
Dear Colleagues,
I was having trouble in converting the URDF file of Single Leg Hopper in mujoco , I tried adding
but when it gets open in Mujoco, the object (robotic leg as given below) falls immediately.
My XML file looks somewhat like this-
Please guide , what could be a possible solution.
![image](https://private-user-images.githubusercontent.com/83980883/344394087-19dcb7d8-21f4-4b53-b42d-83b41001136e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1ODgxMTUsIm5iZiI6MTcyMDU4NzgxNSwicGF0aCI6Ii84Mzk4MDg4My8zNDQzOTQwODctMTlkY2I3ZDgtMjFmNC00YjUzLWI0MmQtODNiNDEwMDExMzZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA1MDMzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkOTQ0Y2ExNjlkZTEyMjMyYjk3ZTNhNDE0Y2E4NTBjODcwNDQwYmUwMzgzNzIyNDg5ZTJhYTBkOGUzNzRhMTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.p2V-xxDZLfr2pLInMVnPGbM1wg6yfXlfudYnF_4jRZM)
![image](https://private-user-images.githubusercontent.com/83980883/344394175-6e096e8d-cbe0-4edf-b6c2-8c0c900fe6d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1ODgxMTUsIm5iZiI6MTcyMDU4NzgxNSwicGF0aCI6Ii84Mzk4MDg4My8zNDQzOTQxNzUtNmUwOTZlOGQtY2JlMC00ZWRmLWI2YzItOGMwYzkwMGZlNmQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA1MDMzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2MDY2OGJkMWU4YTJkMDRjODc5N2ZlMmMxOTc2YWJkM2MxOGY3NTMxYzI2MDJlNzYwODkxODA1ZTY0N2Y4M2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.k1cD9le4PF7O6gr3eWTIHv5NoV16wxGODaN0EjSehNY)
The text was updated successfully, but these errors were encountered: