Code Monkey home page Code Monkey logo

rigidbodytreeinspector.jl-82daab19-8fc9-5c1e-9f69-37d6aaa0269b's Introduction

RigidBodyTreeInspector

Build Status codecov.io


Note: This package should still work, but development has moved to MeshCatMechanisms.jl which offers more features and fewer binary dependencies. New users are encouraged to use MeshCatMechanisms.jl instead of this package.


This package provides a simple tool for inspecting and manipulating the kinematic structure of a robot inside of an IJulia notebook. It relies on several other packages to provide this functionality:

Demos

For detailed examples of usage, check out the IJulia notebook demos in examples.

Examples

Here we show the three different visualization modes available in this package. In each case, we'll be looking at the NASA Valkyrie robot, which we loaded from the URDF files in https://github.com/RobotLocomotion/drake/tree/master/drake/examples/Valkyrie. These results are all taken from examples/urdf.ipynb

Pure kinematic skeleton

This visualization shows every joint in the model as a sphere, with a cylindrical rod between every pair of connected joints. It's useful primarily for inspecting the way various joints and bodies can move.

valkyrie skeleton

When rendered inside an IJulia notebook, a slider is created for each joint in the model:

inspector sliders

Inertial ellipsoids

The inertial visualization adds to every link on the robot an ellipsoid which would have the same mass and rotational inertia as the robot's actual link. Note that different ellipsoids may have different densities, so this may produce strange results for robot links that have large rotational inertias but small masses (like the fingers in the Valkyrie model):

valkyrie inertia

Meshes

Finally, we can render the actual meshes for each link in the robot:

valkyrie meshes

rigidbodytreeinspector.jl-82daab19-8fc9-5c1e-9f69-37d6aaa0269b's People

Contributors

rdeits avatar tkoolen avatar goretkin avatar femtocleaner[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.