Revision 817ba726
server/include/ROS/GazeCallbackWrapperROS.h | ||
---|---|---|
64 | 64 |
//use timestamp from request |
65 | 65 |
gaze_state.timestamp = convert_ros_to_timestamp_ms(request->timestamp); //get_timestamp(); |
66 | 66 |
if (request->gaze_type == hlrc_server::gazetargetGoal::GAZETARGET_ABSOLUTE){ |
67 |
gaze_state.type = humotion::GazeState::ABSOLUTE;
|
|
67 |
gaze_state.gaze_type = humotion::GazeState::GAZETYPE_ABSOLUTE;
|
|
68 | 68 |
}else{ |
69 |
gaze_state.type = humotion::GazeState::RELATIVE;
|
|
69 |
gaze_state.gaze_type = humotion::GazeState::GAZETYPE_RELATIVE;
|
|
70 | 70 |
} |
71 | 71 |
|
72 | 72 |
//default: |
Also available in: Unified diff