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

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

#include "examples/IROS_2015/TetraSpineStatic/TetraSpineStaticModel_hf.h"
#include "htSpineSine.h"
#include "core/tgModel.h"
#include "core/tgSimView.h"
#include "core/tgSimViewGraphics.h"
#include "core/tgSimulation.h"
#include "core/tgWorld.h"
#include "examples/learningSpines/tgCPGLogger.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 Static application.

Author
Brian Mirletz

Definition in file AppTetraSpineHT.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 48 of file AppTetraSpineHT.cpp.