Joli\ArDrone\Client::__construct PHP Method

__construct() public method

public __construct ( )
    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();
    }