Hello, am I right, that the drone is always initialised? Even if the response.compare("ok") is not true?
Is this intended?
void Tello::init()
{
udpclient = new WiFiUDP();
//This initializes udp and transfer buffer
udpclient->begin(COMMAND_PORT);
isInitialised = true;
string response = sendCommand("command");
//if response is other than "ok" then we consider as error
if(response.compare("ok"))
{
isInitialised = true;
}
}
Greetings
Tobi
Hello, am I right, that the drone is always initialised? Even if the
response.compare("ok")is nottrue?Is this intended?
Greetings
Tobi