public MainPage() { this.InitializeComponent(); flightController = new FlightController(leftStick, rightStick); crazyflieController = new CrazyflieController(flightController); }
public MainPage() { this.InitializeComponent(); flightController = new FlightController(leftStick, rightStick); crazyflieController = new CrazyflieController(flightController); }
public MainPage() { this.InitializeComponent(); // TODO: select the input controller - eventually this should // be configurable at runtime through a settings page, or be // automatically detected. // // For touchscreen control, use the FlightController class (default) flightController = new FlightController(leftStick, rightStick); // For spatial gesture control (HoloLens), use the GestureController class //flightController = new GestureController(); crazyflieController = new CrazyflieController(flightController); }