Revision bb35ea6e
| examples/yarp_icub/include/icub_jointinterface.h | ||
|---|---|---|
| 25 | 25 |
iCubJointInterface(std::string scope); |
| 26 | 26 |
~iCubJointInterface(); |
| 27 | 27 |
|
| 28 |
//void store_incoming_position(int id, double value, double timestamp);
|
|
| 28 |
void store_incoming_position(int humotion_id, double value, double timestamp);
|
|
| 29 | 29 |
void run(); |
| 30 | 30 |
|
| 31 | 31 |
int convert_icub_jointid_to_humotion(int id); |
| examples/yarp_icub/src/icub_jointinterface.cpp | ||
|---|---|---|
| 315 | 315 |
//! \param id of joint |
| 316 | 316 |
//! \param float value of position |
| 317 | 317 |
//! \param double timestamp |
| 318 |
/*void iCubJointInterface::store_incoming_position(int id, double value, double timestamp){
|
|
| 318 |
void iCubJointInterface::store_incoming_position(int humotion_id, double value, double timestamp){
|
|
| 319 |
JointInterface::store_incoming_position(humotion_id, value, timestamp); |
|
| 320 |
} |
|
| 321 |
/* |
|
| 319 | 322 |
//store joint based on id: |
| 320 | 323 |
switch(id){
|
| 321 | 324 |
default: |
Also available in: Unified diff