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

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

#include "FlemonsSpineModelContact.h"
#include "dev/CPG_feedback/SpineFeedbackControl.h"
#include "core/tgModel.h"
#include "core/tgSimView.h"
#include "core/tgSimViewGraphics.h"
#include "core/tgSimulation.h"
#include "core/tgWorld.h"
#include "core/terrain/tgHillyGround.h"
#include <iostream>
#include <exception>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

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

Author
Brian Mirletz

Definition in file AppFlemonsSpineContact.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 50 of file AppFlemonsSpineContact.cpp.