public Watchdog(NavdataAcquisition navdataAcquisition, CommandSender commandSender, VideoAcquisition videoAcquisition) { _navdataAcquisition = navdataAcquisition; _commandSender = commandSender; _videoAcquisition = videoAcquisition; }
public DroneClient(string hostname) { _networkConfiguration = new NetworkConfiguration(hostname); _droneConfiguration = new DroneConfiguration(); _commandQueue = new ConcurrentQueue <ATCommand>(); _commandSender = new CommandSender(_networkConfiguration, _commandQueue); _navdataAcquisition = new NavdataAcquisition(_networkConfiguration, OnNavdataPacketAcquired, OnNavdataAcquisitionStopped); _videoAcquisition = new VideoAcquisition(_networkConfiguration, OnVideoPacketAcquired); _configurationAcquisition = new ConfigurationAcquisition(_networkConfiguration, OnConfigurationPacketAcquired); _watchdog = new Watchdog(_navdataAcquisition, _commandSender, _videoAcquisition); }
public DroneClient(string hostname) { _networkConfiguration = new NetworkConfiguration(hostname); _droneConfiguration = new DroneConfiguration(); _commandQueue = new ConcurrentQueue<ATCommand>(); _commandSender = new CommandSender(_networkConfiguration, _commandQueue); _navdataAcquisition = new NavdataAcquisition(_networkConfiguration, OnNavdataPacketAcquired, OnNavdataAcquisitionStopped); _videoAcquisition = new VideoAcquisition(_networkConfiguration, OnVideoPacketAcquired); _configurationAcquisition = new ConfigurationAcquisition(_networkConfiguration, OnConfigurationPacketAcquired); _watchdog = new Watchdog(_navdataAcquisition, _commandSender, _videoAcquisition); }