Repository navigation
Conversation
|
Needed for #230 |
| namespace urdf{ | ||
| URDFDOM_DLLAPI ModelInterfaceSharedPtr parseURDF(const std::string &xml_string); | ||
| URDFDOM_DLLAPI ModelInterfaceSharedPtr parseURDFFile(const std::string &path); | ||
| URDFDOM_DLLAPI std::string exportURDF(const ModelInterface &model); |
There was a problem hiding this comment.
I tthink they are used to export the string from a Model, but not much use. If this is the case, then there needs to be other cleanups to be done. Should I do the cleanup part?
There was a problem hiding this comment.
I don't think this is a breaking change, so we can merge to rolling after the freeze date and then backport to lyrical after the initial release
There was a problem hiding this comment.
I tthink they are used to export the string from a Model, but not much use. If this is the case, then there needs to be other cleanups to be done. Should I do the cleanup part?
maybe create an issue to describe the cleanup work to be done and what it will enable?
|
Tick the box to add this pull request to the merge queue (same as
|
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
bf82358 to
a9a577c
Compare
|
|
||
| tinyxml2::XMLElement* robot = doc->NewElement("robot"); | ||
| robot->SetAttribute("name", model.name_.c_str()); | ||
| robot->SetAttribute("version", "1.2"); |
There was a problem hiding this comment.
is this hardcoded version required here ? is there a way to get this value from another place ?
There was a problem hiding this comment.
Right now, a global one is not defined yet. Maybe we can do that after this PR, to keep the change isolated?
I was reviewing the changes of the Capsule geometry just in case before the official release, and I found that this geomtry is not exported anywhere. I added a utility here to finish that part