Revision 04cf2b6f client/python/hlrc_client/MiddlewareROS.py
client/python/hlrc_client/MiddlewareROS.py | ||
---|---|---|
179 | 179 |
else: |
180 | 180 |
goal.gaze_type = gazetargetGoal.GAZETARGET_RELATIVE |
181 | 181 |
|
182 |
goal.gaze_timestamp = rospy.Time.from_sec(gaze.timestamp)
|
|
182 |
goal.gaze_timestamp = rospy.Time.from_sec(gaze.gaze_timestamp.to_seconds())
|
|
183 | 183 |
|
184 | 184 |
#send the goal to the server |
185 | 185 |
if (blocking): |
Also available in: Unified diff