Skip to main content

This toolbox generates automatically a vtk-visualization for an ode (Open Dynamics Engine) simulation under Python. You only have to define the simulation space and world and forward these entities to the visualization.

Project description

odeViz: (or as I use to say: ode - visualization)

0. Contact:

If you change the code, improve this project, fix bugs, or just have comments, feel free to contact me…

André Dietrich: dietrich@ivs.cs.uni-magdeburg.de

Website: http://eos.cs.ovgu.de/en/crew/dietrich

1. Preface:

I wrote this simple library, because I was fed up with dealing with the visualization for every ode-simulation. All geometrical information are allready within the simulation, so why was it not done automatically.

2. Requirements:

Open Dynamics Engine: http://www.ode.org

Download the current version, compile it or use binary-packages.

PyODE: http://pyode.sourceforge.net

This is the ode-interface for Python, it also contains the xode-project, which enables the definition of ode-simulations with XML. See the ReadMe for further installation information.

Visualization Toolkit (VTK): http://www.vtk.org

Download VTK if you haven’t insalled it yet and compile it with Python support. See also ReadMe for further installation information.

Additional:

If you are using Linux as I do (Ubuntu), nearly all of these tools and libraries can be installed from precompiled versions. But for xode you will have to download PyODE from http://pyode.sourceforge.net.

3. Install:

Using pip:

$ pip install odeViz

From a tarball:

$ python setup.py install

4. Running the examples:

I put two examples in this project, one (tutorial3.py) was taken from the PyODE-tutorial. In fact it is the same, I just removed all OpenGL-functionality. The second example (test.py) shows, how easy it is to define a simulation for ode with an XML document (see test.xml). To run this example you will have to use xode.

For further explanation, have a look at our tutorial at: http://www.aizac.info/projects/ode-viz

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odeViz-0.2.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file odeViz-0.2.tar.gz.

File metadata

  • Download URL: odeViz-0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for odeViz-0.2.tar.gz
Algorithm Hash digest
SHA256 03082a28a278e274d8a0d0f8133d7b97bff0bc23276a3310044247142ffc227b
MD5 b51e3490f5fe751c1adb563514c24c51
BLAKE2b-256 23cac216c6ae18375806064d76130c0308742b484cd3b47ad313a9f789553c11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page