Revision c6c9fe2c
| examples/yarp_icub/src/icub_data_receiver.cpp | ||
|---|---|---|
| 57 | 57 |
} |
| 58 | 58 |
|
| 59 | 59 |
void iCubDataReceiver::store_incoming_position(int icub_id, double value, double timestamp) {
|
| 60 |
cout << "iCubDataReceiver::store_incoming_position(" << icub_id << ", " << value << "..)\n";
|
|
| 60 | 61 |
// store joint position in humotion backend |
| 61 | 62 |
if ((icub_id == iCubJointInterface::ICUB_ID_EYES_PAN) || |
| 62 | 63 |
(icub_id == iCubJointInterface::ICUB_ID_EYES_VERGENCE)) {
|
| examples/yarp_icub/src/icub_jointinterface.cpp | ||
|---|---|---|
| 319 | 319 |
//store joint based on id: |
| 320 | 320 |
switch(id){
|
| 321 | 321 |
default: |
| 322 |
printf("> ERROR: unhandled joint id %d\n",id);
|
|
| 322 |
//printf("> ERROR: unhandled joint id %d\n",id);
|
|
| 323 | 323 |
return; |
| 324 | 324 |
|
| 325 | 325 |
case(100): |
Also available in: Unified diff