NTRT Simulator
Version: Master
|
Contains the definition function main() for the Escape T6 application. $Id$. More...
#include "EscapeModel.h"
#include "EscapeController.h"
#include "core/terrain/tgBoxGround.h"
#include "models/obstacles/tgCraterShallow.h"
#include "models/obstacles/tgCraterDeep.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 | |
tgBoxGround * | createGround () |
tgWorld * | createWorld () |
tgSimViewGraphics * | createGraphicsView (tgWorld *world) |
tgSimView * | createView (tgWorld *world) |
void | simulate (tgSimulation *simulation) |
int | main (int argc, char **argv) |
Contains the definition function main() for the Escape T6 application. $Id$.
Definition in file AppEscape.cpp.
tgSimViewGraphics* createGraphicsView | ( | tgWorld * | world | ) |
Use for displaying tensegrities in simulation
Definition at line 131 of file AppEscape.cpp.
Use for trial episodes of many tensegrities in an experiment
Definition at line 138 of file AppEscape.cpp.
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.cpp.
void simulate | ( | tgSimulation * | simulation | ) |
Run a series of episodes for nSteps each
Definition at line 145 of file AppEscape.cpp.