The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.