Revision 89374d69 src/client/middleware_ros.cpp
src/client/middleware_ros.cpp | ||
---|---|---|
131 | 131 |
msg.eyeblink_request_left = gaze_state.eyeblink_request_left; |
132 | 132 |
msg.eyeblink_request_right = gaze_state.eyeblink_request_right; |
133 | 133 |
|
134 |
msg.type = humotion::gaze::ABSOLUTE; |
|
134 |
if (gaze_state.type == GazeState::ABSOLUTE){ |
|
135 |
msg.type = humotion::gaze::ABSOLUTE; |
|
136 |
}else{ |
|
137 |
msg.type = humotion::gaze::RELATIVE; |
|
138 |
} |
|
135 | 139 |
|
136 | 140 |
//add position to send queue |
137 | 141 |
gaze_target_publisher.publish(msg); |
Also available in: Unified diff