-
Notifications
You must be signed in to change notification settings - Fork 8
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
Refactor Robot Model Factory #116
Refactor Robot Model Factory #116
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is missing option to load model from string, which is crucial for ROS integration
Co-authored-by: Krzysztof Wojciechowski <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: Krzysztof Wojciechowski <[email protected]>
for more information, see https://pre-commit.ci
I let the XML comment for a future work, because i'm not sure how to load the collision model with XML #118 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MaximilienNaveau shouldn't this class be moved outside of the factory
folder?
Co-authored-by: Krzysztof Wojciechowski <[email protected]>
Co-authored-by: Krzysztof Wojciechowski <[email protected]>
for more information, see https://pre-commit.ci
Yes I believe it should. |
3d4f5dc
into
agimus-project:topic/humble-devel/refactor
Hello,
in this PR, the refactoring of the robot model factory. This has to be merged before the OCP class PR.
I ditched a lot of stuff to keep the essential: a robot wrapper with armature. Please, say if you need / want some other stuff in it.
I decided to get rid of the story of "complete' collision/visual models" because in my opinion it doesn't make much sense. Either it's mesh or simple convex shapes, but there is no reduction. If you're against, again, let's discuss it in the comments.
There is a function to directly parse the urdf and from sphere cylinder, obtain a collision model with capsules instead of sphere cylinder.
That's about it, it still needs unit testing, i'm working on it right now.