40 #include "models/obstacles/tgWall.h"
53 int main(
int argc,
char** argv)
55 std::cout <<
"AppTetraSpineHT" << std::endl;
58 const double scale = 100;
63 btVector3 eulerAngles = btVector3(M_PI/4.0, 0.0, 0.0);
64 btScalar friction = 0.5;
65 btScalar restitution = 0.1;
66 btVector3 size = btVector3(500.0, 1.5, 500.0);
67 btVector3 origin = btVector3(0.0, 0.0, 0.0);
68 const size_t nx = 100;
69 const size_t ny = 100;
70 const double triangleSize = 15.0;
71 const double waveHeight = 5.0;
72 const double offset = 0.0;
73 const double margin = 1.0;
75 size, origin, nx, ny, margin, triangleSize,
85 const double stepSize = 1.0/1000.0;
86 const double renderRate = 1.0/60.0;
94 const int segments = 12;
101 myModel->
attach(myControl);
110 btVector3 wallOrigin(0.0, 0.0, 50.0);
111 Wall* myWall =
new Wall(wallOrigin);
121 simulation.
run(240000);
int main(int argc, char **argv)
Contains the definition of class tgHillyGround.
void addModel(tgModel *pModel)
Contains the definition of class tgSimulation.
Contains the definition of class tgModel.
Contains the definition of class tgSimViewGraphics.
Contains the definition of class tgBlockField. A random field of blocks used to test tensegrities...
Contains the definition of class tgWorld $Id$.
Controller for TetraSpineCollisions.
Middle segment of In Won's robot reconfigured with tgBulletContactSpringCable and more segments...
Contains the definition of class tgSimView.
Contains the definition of interface class tgCPGLogger.
void attach(tgObserver< T > *pObserver)