Revision 4e61b076
src/server/middleware_ros.cpp | ||
---|---|---|
106 | 106 |
//! callback to handle incoming gaze target |
107 | 107 |
void MiddlewareROS::incoming_gaze_target(const humotion::gaze::ConstPtr& msg){ |
108 | 108 |
GazeState gaze_state; |
109 |
///printf("> incoming gaze_target [P:%3.1f, T:%3.1f, R:%3.1f] %s\n", msg->pan, msg->tilt, msg->roll, msg->type==humotion::gaze::ABSOLUTE?"ABSOLUTE":"RELATIVE");
|
|
109 |
//printf("> incoming gaze_target [P:%3.1f, T:%3.1f, R:%3.1f] %d = %s\n", msg->pan, msg->tilt, msg->roll, msg->type, msg->type==humotion::gaze::GAZETYPE_ABSOLUTE?"ABSOLUTE":"RELATIVE");
|
|
110 | 110 |
|
111 | 111 |
gaze_state.pan = msg->pan; |
112 | 112 |
gaze_state.tilt = msg->tilt; |
Also available in: Unified diff