NTRT Simulator  v1.1
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
AppFlemonsSpineLearning.cpp File Reference

Contains the definition function main() for the Tetra Spine Learning application. More...

#include "FlemonsSpineModelLearning.h"
#include "examples/learningSpines/BaseSpineCPGControl.h"
#include "dev/btietz/kinematicString/KinematicSpineCPGControl.h"
#include "examples/learningSpines/tgCPGLogger.h"
#include "core/tgModel.h"
#include "core/tgSimView.h"
#include "core/tgSimViewGraphics.h"
#include "core/tgSimulation.h"
#include "core/tgWorld.h"
#include <iostream>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Contains the definition function main() for the Tetra Spine Learning application.

Contains the definition function main() for the Flemons Spine Learning application.

Author
Brian Tietz

Definition in file AppFlemonsSpineLearning.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

The entry point.

Parameters
[in]argcthe number of command-line arguments
[in]argvargv[0] is the executable name; argv[1], if supplied, is the suffix for the controller
Returns
0
Todo:
Does the model assume ownership of the controller?

No - a single controller could be attached to multiple subjects However, having this here causes a segfault, since there is a call to onTeardown() when the simulation is deleted

Definition at line 49 of file AppFlemonsSpineLearning.cpp.