Timm Murray > UAV-Pilot-0.8 > UAV::Pilot::ARDrone::NavPacket

Download:
UAV-Pilot-0.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Source  

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.

syntax highlighting: