iCub-main
test.cpp
Go to the documentation of this file.
1 // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2 
3 /*
4  * Copyright (C) 2007 Vadim Tikhanoff, Paul Fitzpatrick
5  * CopyPolicy: Released under the terms of the GNU GPL v2.0.
6  */
7 
8 
9 #include <yarp/os/Network.h>
10 #include <yarp/os/Property.h>
11 
12 #include "SimulationRun.h"
13 #include "FakeSimulationBundle.h"
14 
15 int main(int argc, char** argv) {
16  yarp::os::Network yarp;
17  if (!yarp.checkNetwork())
18  return 1;
19 
20  yarp::os::Property options;
21  options.fromCommand(argc,argv);
22 
25  if (!main.run(bundle,argc,argv)) return 1;
26  return 0;
27 }
SimulationRun
Definition: SimulationRun.h:27
SimulationRun.h
SimulationBundle
Definition: SimulationBundle.h:29
FakeSimulationBundle
Definition: FakeSimulationBundle.h:25
yarp
Copyright (C) 2008 RobotCub Consortium.
Definition: DebugInterfaces.h:51
scripting.argc
argc
Definition: scripting.py:184
main
int main(int argc, char *argv[])
Definition: test.cpp:622
FakeSimulationBundle.h