Ejemplo n.º 1
0
 public Watchdog(NavdataAcquisition navdataAcquisition,
                 CommandSender commandSender,
                 VideoAcquisition videoAcquisition)
 {
     _navdataAcquisition = navdataAcquisition;
     _commandSender      = commandSender;
     _videoAcquisition   = videoAcquisition;
 }
Ejemplo n.º 2
0
 public Watchdog(NavdataAcquisition navdataAcquisition,
                 CommandSender commandSender,
                 VideoAcquisition videoAcquisition)
 {
     _navdataAcquisition = navdataAcquisition;
     _commandSender = commandSender;
     _videoAcquisition = videoAcquisition;
 }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }