-
Notifications
You must be signed in to change notification settings - Fork 132
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
functions to write urdf xml to file? #12
Comments
Using urdf_parser_py, the following sample code should work.
We could add this functionality to the C++ API and/or update the documentation for urdf_parser_py. |
Thanks, I would like the C++ API. |
It already exists: TiXmlDocument* exportURDF(const ModelInterface &model); You can write to a file with something like this:
|
Hi @benaxelrod, it looks like it has been a while since this was updated. I'm assuming the post by @sbarthelemy answers the question. Feel free to reopen if that's not the case. |
[joint] reset `JointMimic` pointer on clear
I am looking for functions to write a urdf xml file but can't seem to find any. Basically, I am reading joint and body data from another file format, and would like to convert it to URDF.
It looks like this functionality might exist in "urdf_parser_py", but i'm not sure. Other than that, the only other thing i can find that looks like it writes urdf files is "robot_model/collada_urdf/src/collada_to_urdf.cpp".
Thanks
The text was updated successfully, but these errors were encountered: