public void addDirection(CourseAdvisor.Direction direction)
        {
            courseDirections.Insert(0, direction);

            if (courseDirections.Count > maxCountDirection)
                courseDirections.RemoveRange(maxCountDirection, courseDirections.Count - maxCountDirection);
        }
Пример #2
0
        public void InitDetection()
        {
            signDetector = new SignDetector();
            courseAdvisor = new CourseAdvisor(droneControl.FrontCameraPictureSize, droneControl.FrontCameraFieldOfViewDegrees);
            course = new CourseList();

            InitDetectionSliders();
        }
Пример #3
0
 private void MarkAdvisedCourse(CourseAdvisor.Direction direction)
 {
     directionControl.SetArrowData(direction.DeltaX, direction.DeltaY);
 }