GithubHelp home page GithubHelp logo

jgvictores / roboview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arcoslab/roboview

0.0 2.0 0.0 50 KB

Robotview: Robot visualization tool for orocos kdl

License: GNU General Public License v3.0

Makefile 0.98% Python 99.02%

roboview's Introduction

RoboView <http://www9.in.tum.de/~kleinehe/roboview.html> is a
kinematic chain viewer based on the Orocos KDL <http://orocos.org/kdl>
library.

You use can use it to display kinematic chains and test the forward
and inverse kinematics using KDL.

It was written by Jonathan Kleinehellefort for the Technische
Universität München.

INSTALLING
==========

You will need Python 2.4, PyGTK <http://www.pygtk.org/>, KDL with
Python bindings <http://orocos.org/kdl> and VTK with Python bindings
<http://www.vtk.org/> in order to run RoboView.

You can (but do not have to) install RoboView using distutils (you may
need root permissions for that):

    python setup.py install --prefix=/usr/local

See ``python setup.py --help'' for more information.

some packages you MAY need:

apt-get install python-vtk python-pyvtk python-gtk2-dev python-gtkglext1

RUNNING
=======

To run RoboView, call it with an Python file describing a kinematic chain:

    roboview robodef.py

Where robodef.py looks something like this (see KDL documentation for
details):

---
from PyKDL import *
from math import pi

segments = [
    Segment(Joint(Joint.RotZ),
            Frame(Rotation.RotX(pi/2), Vector(0, -.045, .225))),
    Segment(Joint(Joint.RotZ),
            Frame(Rotation.RotY(-pi/2), Vector(0, 0, .215))),
    Segment(Joint(Joint.RotZ),
            Frame(Rotation.RotY(pi/2), Vector(.135, 0, 0))),
    Segment(Joint(Joint.RotZ),
            Frame(Rotation.RotY(-pi/2), Vector(0, 0, .175))),
    Segment(Joint(Joint.RotZ),
            Frame(Rotation.RotY(pi/2), Vector(.1, 0, 0))),
    Segment(Joint(Joint.TransZ),
            Frame(Rotation.RotY(pi/2), Vector(.1, 0, 0))),
    Segment(Joint(Joint.RotZ),
            Frame(Rotation.RotZ(pi/2), Vector(0, 0, .165)))]
---

USER INPUT
==========

Left-button drag on background      rotate camera
Middle-button drag on background    move camera
Button drag on joint                change joint value
Left-button drag on end effector    rotate end effector (tries to do
                                        inverse kinematics)
Middle-button drag on end effector  translate end effector (tries to do
                                        inverse kinematics)
Key R                               reset camera
Key Q                               quit

roboview's People

Watchers

 avatar  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.