Revision 99ebae32 examples/meka/src/mekajointinterface.cpp

View differences:

examples/meka/src/mekajointinterface.cpp
14 14
    scope = _scope;
15 15

  
16 16
    //subscribe to meka joint states
17
    ros::init();
17
    int argc = 0;
18
    ros::init(argc, (char**)NULL, "meka_humotion");
18 19
    ros::NodeHandle n;
19 20
    joint_state_subscriber = n.subscribe(scope + "joint_states", 150, &MekaJointInterface::incoming_jointstates , this);
20 21

  

Also available in: Unified diff