SDF based double pendulum example for Drake

Issue #168 open
Michel Hidalgo created an issue

Description

As part of the integration of sdformat with Drake, we should write a very simple usage example by means of loading a double pendulum from an SDF file into a RigidBodyTree so as to simulate and visualize it using Drake's codebase (see drake#6135).

What has to be done

  1. Load a double pendulum from an SDF (i.e. using Gazebo standard model) into a RigidBodyTree.
  2. Simulate it using a RigidBodyPlant and visualize it using a DrakeVisualizer.
  3. Write a comprehensive explanatory README, with instructions on how to build and run it.

How to test it

Mainly by visual inspection. No new code to unit test.

Comments (7)

  1. Michel Hidalgo reporter

    @andres_fortier thanks for the FYI, though I used Gazebo's (that lacks inertial data, which I had to add, but it's much more complete). I just pushed the example code to a branch on our drake fork. Since drake_visualizer has been broken for a week or so, I had to checkout an old commit to record this:

    59527531f2ddd369764622.gif

    How do we want to proceed?

    • We could add comprehensive documentation and comments.
    • We could add test coverage for the minimal parser that we have.
  2. Log in to comment