public function __construct()
{
$this->loop = LoopFactory::create();
$this->udpFactory = new UdpFactory($this->loop);
$this->timerOffset = 0;
$this->lastState = 'CTRL_LANDED';
$this->lastBattery = 100;
$this->lastAltitude = 0;
$this->disableEmergency = false;
$this->startUdpNavdata();
$this->startUdpControl();
}