Revision 497d9d24

View differences:

examples/yarp_icub/src/icub_jointinterface.cpp
218 218
    //speed = -speed;
219 219

  
220 220

  
221
    // find out the latency between incoming data and now:
222
    float latency = get_ts_speed(e).get_last_timestamp().to_seconds() - humotion::Timestamp::now().to_seconds();
223
    printf("TS DIFF %fms\n",latency*1000.0);
224

  
221 225
    //execute:
222 226
    //ivel->velocityMove(id, speed);
223 227
    if ((id == ICUB_ID_NECK_PAN)  || (id == ICUB_ID_EYES_BOTH_UD) || (id == ICUB_ID_NECK_TILT) || (id == ICUB_ID_EYES_BOTH_UD) ||  (id == ICUB_ID_NECK_TILT) ){

Also available in: Unified diff