Revision 32327f15 src/server/middleware_ros.cpp

View differences:

src/server/middleware_ros.cpp
127 127
    }else{
128 128
        gaze_state.gaze_type = GazeState::GAZETYPE_RELATIVE;
129 129
    }
130
    gaze_state.timestamp = msg->header.stamp.toSec();
130

  
131
    gaze_state.timestamp.set(msg->gaze_timestamp.sec, msg->gaze_timestamp.nsec);
131 132

  
132 133
    controller->set_gaze_target(gaze_state);
133 134

  

Also available in: Unified diff