Revision 9209a133
| examples/yarp_icub/src/icub_jointinterface.cpp | ||
|---|---|---|
| 490 | 490 |
enum_id_bimap_t::right_const_iterator it = enum_id_bimap.right.find(humotion_id); |
| 491 | 491 |
if(it == enum_id_bimap.right.end()) {
|
| 492 | 492 |
//key does not exist |
| 493 |
cout << "ERROR: invalid humotion joint id given. can not convert this. exiting\n"; |
|
| 493 |
cout << "ERROR: invalid humotion joint id (" << humotion_id << "") given. can not convert this. exiting\n";
|
|
| 494 | 494 |
exit(EXIT_FAILURE); |
| 495 | 495 |
} |
| 496 | 496 |
return it->second; |
Also available in: Unified diff