Need to work on Getting the Missions running, There is currently an issue with the UDP Client sending to a bad IP
This commit is contained in:
21
Tello Drone/Drone.cs
Normal file
21
Tello Drone/Drone.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Tello_Drone
|
||||
{
|
||||
public class Drone : IDrone
|
||||
{
|
||||
private readonly IDroneCommands _droneCommands;
|
||||
|
||||
public Drone(IDroneCommands droneCommands)
|
||||
{
|
||||
_droneCommands = droneCommands;
|
||||
}
|
||||
|
||||
public bool Forward() => _droneCommands.Forward();
|
||||
public bool Reverse() => _droneCommands.Reverse();
|
||||
public bool Up() => _droneCommands.Up();
|
||||
public bool Down() => _droneCommands.Down();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user