Need to change Missions to be implementations.

This commit is contained in:
2019-09-10 11:43:49 -06:00
parent d99bce4d14
commit 10ccd0258b
2 changed files with 16 additions and 0 deletions

View File

@@ -35,12 +35,23 @@ namespace Tello_Drone
private void SendCommand(string message)
{
<<<<<<< Updated upstream
_udpClient.TrySend(message, 5_000, 3);
=======
var returnValue = _udpClient.TrySend(message, 5_000, 3);
if (returnValue == false)
SendCommand("land");
>>>>>>> Stashed changes
}
private bool TrySendCommand(string message)
{
<<<<<<< Updated upstream
return _udpClient.TrySend(message, 20_000, 3);
=======
return _udpClient.TrySend(message, 5_000, 3);
>>>>>>> Stashed changes
}
}
}