Revision d21cdd06
examples/meka/src/mekajointinterface.cpp | ||
---|---|---|
101 | 101 |
|
102 | 102 |
|
103 | 103 |
void MekaJointInterface::run(){ |
104 |
//iCubDataReceiver *data_receiver = new iCubDataReceiver(10/*1000.0 / MAIN_LOOP_FREQUENCY*/, iencs, this); |
|
105 |
//data_receiver->start(); |
|
106 | 104 |
ros::spin(); |
107 | 105 |
} |
108 | 106 |
|
src/client/middleware_ros.cpp | ||
---|---|---|
136 | 136 |
}else{ |
137 | 137 |
msg.gaze_type = humotion::gaze::GAZETYPE_RELATIVE; |
138 | 138 |
} |
139 |
msg.gaze_timestamp.sec = gaze_state.timestamp.sec; |
|
140 |
msg.gaze_timestamp.nsec = gaze_state.timestamp.nsec; |
|
139 | 141 |
|
140 | 142 |
//add position to send queue |
141 | 143 |
gaze_target_publisher.publish(msg); |
Also available in: Unified diff