Revision 3504a859 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 18
    ros::NodeHandle n;
18 19
    joint_state_subscriber = n.subscribe(scope + "joint_states", 150, &MekaJointInterface::incoming_jointstates , this);
19 20

  

Also available in: Unified diff