Revision 3877047d server/include/ROS/GazeCallbackWrapperROS.h
server/include/ROS/GazeCallbackWrapperROS.h | ||
---|---|---|
56 | 56 |
gaze_state.roll = request->roll; |
57 | 57 |
|
58 | 58 |
//use timestamp from request |
59 |
gaze_state.timestamp = request->timestamp.toSec(); //get_timestamp(); |
|
59 |
gaze_state.timestamp.set(request->gaze_timestamp.sec, request->gaze_timestamp.nsec); |
|
60 |
|
|
60 | 61 |
if (request->gaze_type == hlrc_server::gazetargetGoal::GAZETARGET_ABSOLUTE){ |
61 | 62 |
gaze_state.gaze_type = humotion::GazeState::GAZETYPE_ABSOLUTE; |
62 | 63 |
}else{ |
Also available in: Unified diff