NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
AppEscape_T6.cpp File Reference

Contains the definition function main() for the Escape T6 application. $Id$. More...

#include "Escape_T6Model.h"
#include "Escape_T6Controller.h"
#include "core/terrain/tgBoxGround.h"
#include "Crater.h"
#include "CraterDeep.h"
#include "core/tgModel.h"
#include "core/tgSimViewGraphics.h"
#include "core/tgSimulation.h"
#include "core/tgWorld.h"
#include "LinearMath/btVector3.h"
#include <iostream>

Go to the source code of this file.

Functions

tgBoxGroundcreateGround ()
 
tgWorldcreateWorld ()
 
tgSimViewGraphicscreateGraphicsView (tgWorld *world)
 
tgSimViewcreateView (tgWorld *world)
 
void simulate (tgSimulation *simulation)
 
int main (int argc, char **argv)
 

Detailed Description

Contains the definition function main() for the Escape T6 application. $Id$.

Definition in file AppEscape_T6.cpp.

Function Documentation

tgSimViewGraphics* createGraphicsView ( tgWorld world)

Use for displaying tensegrities in simulation

Definition at line 132 of file AppEscape_T6.cpp.

Here is the caller graph for this function:

tgSimView* createView ( tgWorld world)

Use for trial episodes of many tensegrities in an experiment

Definition at line 139 of file AppEscape_T6.cpp.

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Runs a series of episodes. Each episode tests a given control pattern for a given number of steps. The fitness function (reward metric) for this experiment is the maximum distance from the tensegrity's starting point at any point during the episode NB: Running episodes and using graphics are mutually exclusive features

Definition at line 59 of file AppEscape_T6.cpp.

void simulate ( tgSimulation simulation)

Run a series of episodes for nSteps each

Definition at line 146 of file AppEscape_T6.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: