Giter VIP home page Giter VIP logo

pydrake_kuka's Introduction

Pydrake Kuka Sandbox and Utilities

Build Status

HOW TO RUN WITH DOCKER

  1. Run python docker_build.py. This builds a Docker image named pydrake_kuka, built against (by default) the latest Drake binaries.
  2. Run python docker_run.py. This runs the above Docker image, giving you a terminal inside of the Docker container from which you can use the code. The contents of this repo are available in the directory /pydrake_kuka, and it's kept in sync with the files on the host computer, so feel free to tweak things in a text editor outside of the container. Things you can try:
  • Run cd /pydrake_kuka && ./run_tests.sh, and point a browser to <127.0.0.1:7000/static/> to watch the robot go through an automated cutting test.
  • Break the terminal into multiple prompts with your favorite terminal multiplexer (e.g. screen, tmux), run meshcat-server in one (and then go to its specified URL to see the visualization), and run python /pydrake_kuka/kuka_cutting_sim.py -N 2 -T 5. to run the cutting sim yourself.

To run the Kuka simulation, first run meshcat-server in a new terminal. It should report a web-url -- something like 127.0.0.1:7000/static/. Open that in a browser -- this is your 3D viewer. Then run python kuka_pydrake_sim.py and you should see the arm spawn in the viewer before doing some movements.

pydrake_kuka's People

Contributors

gizatt avatar

Watchers

Matthew O'Kelly 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.