Revision dff8ce51 examples/meka/src/mekajointinterface.cpp
| examples/meka/src/mekajointinterface.cpp | ||
|---|---|---|
| 64 | 64 | 
    ros::init(argc, (char**)NULL, "meka_humotion");  | 
| 65 | 65 | 
    ros::NodeHandle n;  | 
| 66 | 66 | 
     | 
| 67 | 
     | 
|
| 68 | 67 | 
        printf("> listening on jointstates on '%s'\n",input_scope.c_str());
   | 
| 69 | 68 | 
    joint_state_subscriber = n.subscribe(input_scope, 150, &MekaJointInterface::incoming_jointstates , this);  | 
| 70 | 69 | 
     | 
| 71 | 70 | 
        printf("> sending targets on '%s'\n", output_scope.c_str());
   | 
| 72 | 71 | 
    target_publisher = n.advertise<trajectory_msgs::JointTrajectory>(output_scope, 100);  | 
| 73 | 72 | 
     | 
| 74 | 
     | 
|
| 75 | 73 | 
    //tell humotion about min/max joint values:  | 
| 76 | 74 | 
    init_joints();  | 
| 77 | 75 | 
    }  | 
Also available in: Unified diff