Revision a5cc61d4 examples/humotion_yarp_icub/src/main.cpp

View differences:

examples/humotion_yarp_icub/src/main.cpp
42 42
#include "humotion_yarp_icub/icub_jointinterface.h"
43 43

  
44 44
using std::cerr;
45
using yarp::os::Network;
46
using yarp::os::Property;
45 47

  
46 48
// using namespace yarp::dev;
47 49
// using namespace yarp::sig;
......
66 68
        return EXIT_FAILURE;
67 69
    }
68 70

  
69
    string robotName = params.find("robot").asString().c_str();
70
    string scope = "/" + robotName;
71
    std::string robotName = params.find("robot").asString().c_str();
72
    std::string scope = "/" + robotName;
71 73

  
72 74

  
73 75
    // create humotion interface

Also available in: Unified diff