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

DART example #63

Closed
wants to merge 13 commits into from
Closed

Conversation

costashatz
Copy link
Contributor

This PR adds an example of using the DartIntegration. The example consists of a KUKA Iiwa (14kg payload -- model got from here) manipulator equipped with a Robotiq 2-finger gripper (model got from here) that the user can control to make some small towers of boxes. Here's an example of how a completed tower would look like:
image

The code also includes some basic operational space control for manipulators. In the blogpost that will come, I will explain also in detail the robotics aspects and the model-based controller.

This PR is almost finished; I think I only need to add a few lines of documentation and explanation on how to use it.. @mosra let me know what you think and sorry for being late..

@mosra mosra mentioned this pull request Jul 6, 2019
60 tasks
Copy link
Owner

@mosra mosra left a comment

Choose a reason for hiding this comment

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

Thanks a lot for all this! 👍

src/dart/DartExample.cpp Show resolved Hide resolved
src/dart/DartExampleHelpers.h Outdated Show resolved Hide resolved
src/dart/DartExample.cpp Outdated Show resolved Hide resolved
src/dart/DartExample.cpp Show resolved Hide resolved
src/dart/DartExample.cpp Outdated Show resolved Hide resolved
src/dart/DartExample.cpp Outdated Show resolved Hide resolved
src/dart/DartExample.cpp Outdated Show resolved Hide resolved
src/dart/DartExample.cpp Outdated Show resolved Hide resolved
}

/* Update graphic meshes/materials and render */
updateGraphics();
Copy link
Owner

Choose a reason for hiding this comment

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

I think the contents of updateManipulator() and updateGraphics() could be both directly here I think, no need to have them in a separate function (that's only called from a single place anyway). The current way makes it look like there's "almost nothing" done in the draw event, which is far from true :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have only put the contents of updateGraphics() in the drawEvent() as the the updateManipulator() is not directly related to any graphics. Of course, we need to call it within the drawEvent(), but I think it'd be easier for people to follow that way.

@mosra mosra added this to the 2019.0b milestone Jul 10, 2019
@mosra
Copy link
Owner

mosra commented Jul 22, 2019

Merged as 8a8ce58. I'm happy that this is finally in! 🎉

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

Successfully merging this pull request may close these issues.

2 participants