Skip to content
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

Where is print_xacros ? #2

Open
hail-mary opened this issue Aug 20, 2024 · 1 comment
Open

Where is print_xacros ? #2

hail-mary opened this issue Aug 20, 2024 · 1 comment

Comments

@hail-mary
Copy link

Hi, I've tried modular_policy/simulate_policy.py to see how your codes work.
However, I encountered an error when loading the URDF file by p.loadURDF in robot_env.py.

I think this is because the urdf folder you provided only contains .xacro or .stl files and necessary to be compiled to urdf format. I found you got the job done in visualize_robot.ipynb using compile_to_urdf function. But I could not find print_xacros where you imported it from.

If possible, I would like you to provide print_xacro's source code. Thanks in advance.

@jsw265
Copy link

jsw265 commented Sep 2, 2024

Thanks for your interest in this work! print_xacros can be found in the urdf folder, https://github.com/biorobotics/learning_modular_policies/blob/master/urdf/print_xacros.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants