iCub-main
main.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
10 
11 int main(int argc, char * argv[]) {
12 
13  yarp::os::Network yarp;
14  if (!yarp.checkNetwork())
15  {
16  yError()<<"YARP doesn't seem to be available";
17  return EXIT_FAILURE;
18  }
19  WholeBodyPlayerModule wbdPlayerModule;
20  yarp::os::ResourceFinder config;
21  config.configure(argc, argv);
22  return wbdPlayerModule.runModule(config);
23 };
24 
bool configure(yarp::os::ResourceFinder &rf) override
int main(int argc, char *argv[])
Definition: main.cpp:31
Copyright (C) 2008 RobotCub Consortium.