Skip to content

Complete Capsule export support and add public exportURDF API#256

Open
saikishor wants to merge 1 commit intoros:rollingfrom
saikishor:capsule/export_support
Open

Complete Capsule export support and add public exportURDF API#256
saikishor wants to merge 1 commit intoros:rollingfrom
saikishor:capsule/export_support

Conversation

@saikishor
Copy link
Copy Markdown
Contributor

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

Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
@saikishor
Copy link
Copy Markdown
Contributor Author

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);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the exportURDF API was deprecated in #191 and removed in #217

what is it used for?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy that

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

Successfully merging this pull request may close these issues.

2 participants