예제 #1
0
파일: yarp_helpers.cpp 프로젝트: Juxi/iCub
void yarp_cleanup() {
    right_hand.interrupt();
    left_hand.interrupt();
    right_grasp_port.interrupt();
    left_grasp_port.interrupt();

    right_hand.close();
    left_hand.close();
    right_grasp_port.close();
    left_grasp_port.close();


    // Finished reading configuration file
    std::cout << "YARP clean-up... \tdone!" << std::endl;
}
예제 #2
0
 bool interruptModule(){
     cout << "Interrupting.." << endl;
     vGrabber.interrupt();
     outPort.interrupt();
     handlerPort.interrupt();
     return true;
 }
예제 #3
0
 virtual bool interruptModule()
 {
     gtk_main->quit();
     monitorOutput.interrupt();
     if (graphics) delete graphics;
     delete gtk_main;
     close();
     return true;
 }