-
Notifications
You must be signed in to change notification settings - Fork 96
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
DART example #63
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.
Thanks a lot for all this! 👍
src/dart/DartExample.cpp
Outdated
} | ||
|
||
/* Update graphic meshes/materials and render */ | ||
updateGraphics(); |
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.
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 :)
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.
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.
Merged as 8a8ce58. I'm happy that this is finally in! 🎉 |
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:
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..