Revision 0d0f5ca1 examples/yarp_icub/src/icub_data_receiver.cpp
| examples/yarp_icub/src/icub_data_receiver.cpp | ||
|---|---|---|
| 38 | 38 |
icub_jointinterface->fetch_speed(i, velocities[i], timestamps[i]); |
| 39 | 39 |
} |
| 40 | 40 |
|
| 41 |
//printf("\n%f %f %f TIME\n", get_timestamp_ms(), timestamps[2], positions[2]);
|
|
| 42 |
printf("TIMEDIFF %f\n", get_timestamp_ms() - timestamps[2]);
|
|
| 43 |
|
|
| 41 | 44 |
//tell humotion to update lid angle (hack) |
| 42 | 45 |
icub_jointinterface->fetch_position(100, 0.0, get_timestamp_ms()); |
| 43 | 46 |
//fixme: use real id |
Also available in: Unified diff