Beispiel #1
0
 def _handle_get_video_metrics(self, req):
     return VideoMetricsSrvResponse(
         self._video_metrics[Mp4VideoMetrics.LAP_COUNTER.value],
         self._video_metrics[Mp4VideoMetrics.COMPLETION_PERCENTAGE.value],
         self._video_metrics[Mp4VideoMetrics.RESET_COUNTER.value],
         self._video_metrics[Mp4VideoMetrics.THROTTLE.value],
         self._video_metrics[Mp4VideoMetrics.STEERING.value],
         self._video_metrics[Mp4VideoMetrics.BEST_LAP_TIME.value],
         self._video_metrics[Mp4VideoMetrics.TOTAL_EVALUATION_TIME.value],
         self._video_metrics[Mp4VideoMetrics.DONE.value])
Beispiel #2
0
 def _handle_get_video_metrics(self, req):
     return VideoMetricsSrvResponse(
         self._video_metrics[Mp4VideoMetrics.LAP_COUNTER.value],
         self._video_metrics[Mp4VideoMetrics.COMPLETION_PERCENTAGE.value],
         self._video_metrics[Mp4VideoMetrics.RESET_COUNTER.value],
         self._video_metrics[Mp4VideoMetrics.THROTTLE.value],
         self._video_metrics[Mp4VideoMetrics.STEERING.value],
         self._video_metrics[Mp4VideoMetrics.BEST_LAP_TIME.value],
         self._video_metrics[Mp4VideoMetrics.TOTAL_EVALUATION_TIME.value],
         self._video_metrics[Mp4VideoMetrics.DONE.value],
         self._video_metrics[Mp4VideoMetrics.X.value],
         self._video_metrics[Mp4VideoMetrics.Y.value],
         self._video_metrics[Mp4VideoMetrics.OBJECT_LOCATIONS.value],
         self._video_metrics[Mp4VideoMetrics.EPISODE_STATUS.value],
         self._video_metrics[Mp4VideoMetrics.PAUSE_DURATION.value])
def handle_get_video_metrics(req):
    return VideoMetricsSrvResponse(0, 0.10, 1, 1.5, -30.0, 0, 0, False, 1, 1,
                                   [])