NTRT Simulator
v1.1
|
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 | |
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_T6.cpp.
tgSimViewGraphics* createGraphicsView | ( | tgWorld * | world | ) |
Use for displaying tensegrities in simulation
Definition at line 123 of file AppEscape_T6.cpp.
Use for trial episodes of many tensegrities in an experiment
Definition at line 130 of file AppEscape_T6.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_T6.cpp.
void simulate | ( | tgSimulation * | simulation | ) |
Run a series of episodes for nSteps each
Definition at line 137 of file AppEscape_T6.cpp.