NAME

UAV::Pilot::ARDrone::NavPacket

SYNOPSIS

my $nav = UAV::Pilot::ARDrone::NavPacket->new({
    packet => '...',
});
say "Roll: " . $nav->roll;
say "Pitch: " . $nav->pitch;
say "Yaw: " . $nav->yaw;

DESCRIPTION

Parses nav packets from the Parrot AR.Drone. Specifically handles packets with the option for demo data, which provides basic roll/pitch/yaw/altitude, among a few other things.

Other nav packet types will be parsed in the future.