GitXplorerGitXplorer
k

TensegrityModelling

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
3caa1ab6c90407e09fb373a19e27190383839402

Merge pull request #1 from kashyapakshay/oop

committed 7 years ago
Unverified
1b786e8fe2f3dc275bab1ff4ae8d1991833780b1

Handle springs seperately for now, and not in pointer list

committed 7 years ago
Unverified
762b30ef8fc454125141207f3365b4307503ba44

Spring force unit vector

committed 7 years ago
Unverified
62431a1cd043b2be789fd87caeb6204dd7f40382

Added spring

committed 7 years ago
Unverified
82bad3c052e7b668dc7a0d5c15acef5093ae7ff0

Spring methods to get struts its attached to

committed 7 years ago
Unverified
df20bb5d1243dd7b17bad63b54568527d0492ba0

Draw 3 struts

committed 7 years ago

README

The README file for this repository.

Tensegrity Modelling

Installing ODE

See here:

  1. http://www.cs.cmu.edu/~cga/ode/

(Do not forget to copy the library and header files as instructed)

  1. https://www.ode-wiki.org/wiki/index.php?title=Manual:_Install_and_Use

Installing Python Bindings

  1. Install ODE using instructions above, but call ./configure as
./configure --enable-double-precision --with-trimesh=opcode --enable-new-trimesh --enable-shared
  1. From the ODE root directory, cd into bindings/python

  2. python setup.py install.

Full instructions can be found here at the ODE wiki.

####Troubleshooting

  1. You may need to use sudo when you call make install while installing ODE itself.

  2. If you receive an error while trying to import ode into python, try running sudo ldconfig

Compiling

g++ tensegrity.cpp -o tensegrity -lode -ldrawstuff -lX11 -lGLU -lGL -lpthread

Download tensegrity and run ./tensegrity to run the compiled demo.

ODE Tutorials

Some good ODE tutorials:

  1. http://demura.net/english