iCub-main
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1/*
2* Copyright (C) 2014 iCub Facility - Istituto Italiano di Tecnologia
3* Author: Alberto Cardellino
4* email: alberto.cardellino@iit.it
5* website: www.robotcub.org
6* Permission is granted to copy, distribute, and/or modify this program
7* under the terms of the GNU General Public License, version 2 or any
8* later version published by the Free Software Foundation.
9*
10* A copy of the license can be found at
11* http://www.robotcub.org/icub/license/gpl.txt
12*
13* This program is distributed in the hope that it will be useful, but
14* WITHOUT ANY WARRANTY; without even the implied warranty of
15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16* Public License for more details
17*/
18
19// yarp
20#include <yarp/os/Network.h>
21#include <yarp/os/Module.h>
22
23#include <boardTransceiver.hpp>
24
25using namespace std;
26using namespace yarp::os;
27
28
29int main(int argc, char *argv[])
30{
31 Network yarp;
32 ResourceFinder rf;
33// rf.setDefaultConfigFile("board.ini"); //overridden by --from parameter
34// rf.setDefaultContext("???"); //overridden by --context parameter
35 rf.configure(argc, argv);
36 BoardTransceiver module;
37 return module.runModule(rf);
38}
int main()
Definition main.cpp:67
Copyright (C) 2008 RobotCub Consortium.