public MainForm() { InitializeComponent(); InitializeInputManager(); arDroneControl = new ARDroneControl(); InitializeAviationControls(); videoRecorder = new VideoRecorder(); snapshotRecorder = new SnapshotRecorder(); videoRecorder.CompressionComplete += new EventHandler(videoRecorder_CompressionComplete); videoRecorder.CompressionError += new ErrorEventHandler(videoRecorder_CompressionError); }
public InstrumentsManager(ARDroneControl arDroneControl) { this.arDroneControl = arDroneControl; instrumentList = new List<InstrumentControl>(); }