22 #include <yarp/os/Network.h>
23 #include <yarp/os/ResourceFinder.h>
32 yarp::os::Network
yarp;
35 yarp::os::ResourceFinder rf;
36 rf.setDefaultContext(
"learningMachine");
37 rf.configure(
argc, argv);
47 ret = module.runModule(rf);
48 }
catch(
const std::exception&
e) {
49 std::cerr <<
"Error: " <<
e.what() << std::endl;
50 std::cerr <<
"Type 'quit' or CTRL+C to exit." << std::endl;
54 std::cerr <<
"Error: " << msg << std::endl;
55 std::cerr <<
"Type 'quit' or CTRL+C to exit." << std::endl;
A module for predictions.
virtual bool close()
Close the module.
void registerEventListeners()
Copyright (C) 2008 RobotCub Consortium.
int main(int argc, char *argv[])