Пример #1
0
        public MainForm()
        {
            InitializeComponent();

            conf = ConnectionConfigDataList.Get();
            lblPath.Text = conf[0].Path;
            camController = new FOSCAMController(conf[0]);
        }
Пример #2
0
        public AutonomousTrackStateManager(
            IPanTiltController panTiltController
            , IScreen screen) : base(screen)
        {
            _screen            = screen;
            _panTiltController = panTiltController;

            PursuitBoundaryLower = new PanTiltSetting(10, 40);
            PursuitBoundaryUpper = new PanTiltSetting(80, 90);

            Reset();
        }
        public AutonomousTrackStateManager(
            IPanTiltController panTiltController
            ,IScreen screen)
            : base(screen)
        {
            _screen = screen;
            _panTiltController = panTiltController;

            PursuitBoundaryLower = new PanTiltSetting(40, 50);
            PursuitBoundaryUpper = new PanTiltSetting(60, 60);

            Reset();
        }
 public static void GoToSector(this IPanTiltController controller, CameraSector sector)
 {
     controller.Pan  = sector.Pan;
     controller.Tilt = sector.Tilt;
 }