Git Product home page Git Product logo

pyrosim's Introduction

pyrosim: A python robot simulator.

Pyrosim enables the creation of robots with arbitrary body plans and neural controllers, and the optimization of them in arbitrary simulated environments. Read the Docs

Installation instructions.

Download or clone the GitHub repository.

If you downloaded the zipped version, unzip the directory somewhere you can access it.

Note: Pyrosim is intended for use with Python2.x. It does not yet run smoothly with Python3.x. Pyrosim also currently only supports Linux and Mac OS. Windows support has been discontinued for the time being.

This is the new version of pyrosim. For those looking for the old version it can be found here.

For Mac and Linux users:

Open a terminal window, and navigate into that directory. For example:

$ cd ~/Desktop/pyrosim

If you are installing from Linux make sure you have build-essential and freeglut3 installed

$ sudo apt-get install build-essential
$ sudo apt-get install freeglut3-dev

To build the underlying physics engine, ODE, run build.sh:

$ sh build.sh

This takes three to five minutes. The output should look like this:

Unpacking ode-0.12.tar.bz2...done
Building ode-0.12...done
Building simulator...done

This installs ODE and compiles the local C++ code on your machine in the pyrosim/simulator directory.

You can now use the package locally or install it using pip

$ pip install -e .

After installation you can test the package by changing to the Demos directory and running any one of the provided demos. For example to play the first demo run

$ python Demo_00_Empty_Sim.py 

This should bring up an OpenGL window displaying an empty, virtual world. The window will close on its own after a few seconds.

Notes

If you already have pyrosim installed and want the latest update from the repository, change into the modules root directory (contains setup.py) and pull

$ git pull

The C++ code is likely to have changed so you have to recompile it by going int the simulator directory and typing make

$ cd pyrosim/simulator
$ make

The simulator directory contains all of the C++ code used in pyrosim.

Next steps.

Now you can start making robots here, starting at step #3.

pyrosim's People

Contributors

ccappelle avatar jbongard avatar proteusinstitute avatar

Watchers

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