Revision 3f8fb5a1 examples/meka/src/mekajointinterface.cpp

View differences:

examples/meka/src/mekajointinterface.cpp
24 24
        if (id != -1){
25 25
            //printf("> storing joint data for joint id %d\n", id);
26 26
            if (i >= msg.position.size()){
27
                printf("> msg is missing position data for joint %s. exiting! make sure you did start the publisher...\n", name.c_str());
28
                exit(EXIT_FAILURE);
27
                printf("\r> msg is missing position data for joint %s...", name.c_str());
28
                //exit(EXIT_FAILURE);
29 29
            }
30 30
            if (i >= msg.velocity.size()){
31
                printf("> msg is missing velocity data for joint %s. exiting! make sure you did start the publisher...\n", name.c_str());
32
                exit(EXIT_FAILURE);
31
                printf("\r> msg is missing velocity data for joint %s...", name.c_str());
32
                //exit(EXIT_FAILURE);
33 33
            }
34 34
            //ok, safe to access data
35 35
            JointInterface::store_incoming_position(id, msg.position[i], timestamp);

Also available in: Unified diff