Exemple #1
0
 public async Task Initialize()
 {
     State = DroneState.Landed;
     motorCommandsCounter = 1;
     simpleCommandsCounter = 1;
     emergencyCommandsCounter = 1;
     Network = new NetworkAl();
     await Network.Initialize();
     Network.SomethingChanged += OnHandle_SomethingChanged;
 }
Exemple #2
0
        public async Task Initialize()
        {
            State = DroneState.Landed;
            motorCommandsCounter     = 1;
            simpleCommandsCounter    = 1;
            emergencyCommandsCounter = 1;
            Network = new NetworkAl();
            await Network.Initialize();

            Network.SomethingChanged += OnHandle_SomethingChanged;
        }