43 #include "LinearMath/btVector3.h"
54 int main(
int argc,
char** argv)
56 std::cout <<
"AppBigPuppy" << std::endl;
61 btVector3 eulerAngles = btVector3(0.0, 0.0, 0.0);
62 btScalar friction = 0.5;
63 btScalar restitution = 0.0;
65 btVector3 size = btVector3(0.0, 0.1, 0.0);
66 btVector3 origin = btVector3(0.0, 0.0, 0.0);
70 double triangleSize = 4.0;
71 double waveHeight = 2.0;
74 size, origin, nx, ny, margin, triangleSize,
81 btVector3 eulerAngles = btVector3(0.0, 0.0, 0.0);
82 btScalar friction = 0.5;
83 btScalar restitution = 0.0;
85 btVector3 size = btVector3(0.0, 0.1, 0.0);
86 btVector3 origin = btVector3(0.0, 0.0, 0.0);
90 double triangleSize = 4.0;
91 double waveHeight = 6.0;
94 size, origin, nx, ny, margin, triangleSize,
101 btVector3 origin = btVector3(0.0, 0.0, 0.0);
102 btScalar friction = 0.5;
103 btScalar restitution = 0.0;
104 btVector3 minPos = btVector3(-500.0, 0.0, -500.0);
105 btVector3 maxPos = btVector3(500.0, 0.0, 500.0);
106 size_t nBlocks = 500;
107 double blockLength = 20.0;
108 double blockWidth = 20.0;
109 double blockHeight = 20.0;
112 minPos,maxPos,nBlocks,blockLength,
113 blockWidth,blockHeight);
120 btVector3 origin = btVector3(-30.0, 10.0, -40.0);
121 btScalar friction = 0.5;
122 btScalar restitution = 0.0;
124 double stairWidth = 80.0;
125 double stepWidth = 20.0;
126 double stepHeight = 10.0;
129 tgStairs::Config stairsConfig(origin,friction,restitution,nStairs,stairWidth,stepWidth,stepHeight,angle);
135 const double yaw = 0.0;
136 const double pitch = 0.0;
137 const double roll = 0.0;
148 const double timestep_physics = 0.001;
149 const double timestep_graphics = 1.f/60.f;
158 simulation.addModel(myModel);
161 simulation.addModel(myObstacle);
165 simulation.addModel(myStairs);
int main(int argc, char **argv)
Contains the definition of class tgHillyGround.
Contains the definition of class tgStairs. A random field of blocks used to test tensegrities.
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$.
Contains the definition of class tgBoxGround.