You are excited to simulate your beloved robot with this brand new robotics software. You want to solve the robot kinematics and dynamics. You want to do advanced motion planning because you heard Boston Dynamics uses Quadratic Programming to do back flips. 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).
To download and install Drake, follow these installation instructions.
This README helps you simulate a ball dropping from a certain height onto an inclined plane, and 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.)
cd drakebazel build //tools:drake_visualizer //manipulation/util:geometry_inspector# Terminal 1./bazel-bin/tools/drake_visualizer# Terminal 2./bazel-bin/manipulation/util/geometry_inspector \./manipulation/models/iiwa_description/sdf/iiwa14_no_collision.sdf
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.