public Task <Settings> GetConfigurationTask() { var configurationAcquisition = new ConfigurationAcquisition(this); var task = configurationAcquisition.CreateTask(); return(task); }
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); }
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); }
public Task<DroneConfiguration> GetConfigurationTask() { var configurationAcquisition = new ConfigurationAcquisition(this); var task = configurationAcquisition.CreateTask(); return task; }