public function __construct($loop)
{
$this->loop = $loop;
$this->port = Config::CONTROL_PORT;
$this->ip = Config::DRONE_IP;
$this->commandCreator = new AtCommandCreator();
$this->speed = 0.3;
$this->ref = ['fly' => false, 'emergency' => false];
$this->pcmd = [];
$this->anim = [];
$this->start();
}