Revision 3877047d client/cpp/src/MiddlewareROS.cpp
client/cpp/src/MiddlewareROS.cpp | ||
---|---|---|
154 | 154 |
goal.pan_offset = target.pan_offset; |
155 | 155 |
|
156 | 156 |
//timestamp: |
157 |
goal.timestamp = ros::Time(target.timestamp); |
|
157 |
goal.gaze_timestamp.sec = target.gaze_timestamp.sec; |
|
158 |
goal.gaze_timestamp.nsec = target.gaze_timestamp.nsec; |
|
158 | 159 |
|
159 | 160 |
if (target.gaze_type == RobotGaze::ABSOLUTE){ |
160 | 161 |
goal.gaze_type = hlrc_server::gazetargetGoal::GAZETARGET_ABSOLUTE; |
Also available in: Unified diff