Esempio n. 1
0
 public Watchdog(NavdataAcquisition navdataAcquisition,
                 CommandSender commandSender,
                 VideoAcquisition videoAcquisition)
 {
     _navdataAcquisition = navdataAcquisition;
     _commandSender      = commandSender;
     _videoAcquisition   = videoAcquisition;
 }
Esempio n. 2
0
 public Watchdog(NavdataAcquisition navdataAcquisition,
                 CommandSender commandSender,
                 VideoAcquisition videoAcquisition)
 {
     _navdataAcquisition = navdataAcquisition;
     _commandSender = commandSender;
     _videoAcquisition = videoAcquisition;
 }
Esempio n. 3
0
        public DroneClient(string hostname)
        {
            _networkConfiguration = new NetworkConfiguration(hostname);
            _commandQueue         = new ConcurrentQueue <AtCommand>();
            _navigationData       = new NavigationData();

            _commandSender      = new CommandSender(NetworkConfiguration, _commandQueue);
            _navdataAcquisition = new NavdataAcquisition(NetworkConfiguration, OnNavdataPacketAcquired, OnNavdataAcquisitionStarted, OnNavdataAcquisitionStopped);
        }
Esempio n. 4
0
        public DroneClient(string hostname)
        {
            _networkConfiguration = new NetworkConfiguration(hostname);
            _commandQueue = new ConcurrentQueue<ATCommand>();
            _navigationData = new NavigationData();

            _commandSender = new CommandSender(NetworkConfiguration, _commandQueue);
            _navdataAcquisition = new NavdataAcquisition(NetworkConfiguration, OnNavdataPacketAcquired, OnNavdataAcquisitionStarted, OnNavdataAcquisitionStopped);
            _videoAcquisition = new VideoAcquisition(NetworkConfiguration, OnVideoPacketAcquired);
        }
Esempio n. 5
0
        public DroneClient()
        {
            _configuration = new DroneConfiguration();
            _commandQueue  = new ConcurrentQueue <ATCommand>();

            _commandSender            = new CommandSender(_configuration, _commandQueue);
            _navdataAcquisition       = new NavdataAcquisition(_configuration, OnNavdataPacketAcquired, OnNavdataAcquisitionStopped);
            _videoAcquisition         = new VideoAcquisition(_configuration, OnVideoPacketAcquired);
            _configurationAcquisition = new ConfigurationAcquisition(_configuration, OnConfigurationPacketAcquired);
            _watchdog = new Watchdog(_navdataAcquisition, _commandSender, _videoAcquisition);
        }
Esempio n. 6
0
        public DroneClient()
        {
            _configuration = new DroneConfiguration();
            _commandQueue = new ConcurrentQueue<ATCommand>();

            _commandSender = new CommandSender(_configuration, _commandQueue);
            _navdataAcquisition = new NavdataAcquisition(_configuration, OnNavdataPacketAcquired, OnNavdataAcquisitionStopped);
            _videoAcquisition = new VideoAcquisition(_configuration, OnVideoPacketAcquired);
            _configurationAcquisition = new ConfigurationAcquisition(_configuration, OnConfigurationPacketAcquired);
            _watchdog = new Watchdog(_navdataAcquisition, _commandSender, _videoAcquisition);
        }