To get started
You are excited to simulate your beloved robot with this brand-new Drake software. You want to solve the robot's kinematics and dynamics. You want to calculate advanced motion planning because you heard Boston Dynamics uses Model Predictive Control to achieve backflips. You are in the right place; Drake is the software to get you started.
Although there are binary and python bindings of Drake, I recommend you compile Drake from its C++ source code (this tutorial focuses only on the C++ version of Drake).
Note: Drake is compiled with the bazel build tool (developed by Google). It has similar functions as CMake.
This README helps you simulate a ball dropping from a certain height onto an inclined plane, then sliding/rolling down the plane.
To control the position of a KUKA arm with a slider GUI, follow these instructions. (Note: The complete code is here.)
bazel build //tools:drake_visualizer //manipulation/util:geometry_inspector
# Terminal 1
# Terminal 2
Ideally, you now have learned how to visualize and run a simulation. You are ready to enjoy more examples under the drake/examples folder, such as the allegro hand example, in which you import an SDF model and run its simulation.
- Underactuated Robotics Online Textbook (Class taught by Prof. Russ Tedrake that heavily uses Drake)