Loading [MathJax]/extensions/tex2jax.js
iCub-main
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
main.cpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2025 iCub Facility - Istituto Italiano di Tecnologia
3 * Author: Jacopo Losi
4 * email: jacopo.losi@iit.it
5 * Permission is granted to copy, distribute, and/or modify this program
6 * under the terms of the GNU General Public License, version 2 or any
7 * later version published by the Free Software Foundation.
8 *
9 * A copy of the license can be found at
10 * http://www.robotcub.org/icub/license/gpl.txt
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15 * Public License for more details
16*/
17// -*- mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
18
20
21// YARP includes
22#include <yarp/os/Network.h>
23#include <yarp/os/Log.h>
24#include <yarp/os/LogStream.h>
25
26int main(int argc, char *argv[])
27{
28 yarp::os::Network yarp;
29 if (!yarp.checkNetwork())
30 {
31 yError() << " YARP network does not work. Aborting...";
32 return EXIT_FAILURE;
33 }
34
35 yarp::os::ResourceFinder rf;
36
37 rf.configure(argc, argv);
38
40 return calibModule.runModule(rf);
41}
int main()
Definition main.cpp:67
Copyright (C) 2008 RobotCub Consortium.