blib/lib/UAV/Pilot/NavCollector.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 4 | 6 | 66.6 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 6 | 8 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package UAV::Pilot::NavCollector; | ||||||
2 | 1 | 1 | 1989 | use v5.14; | |||
1 | 5 | ||||||
1 | 43 | ||||||
3 | 1 | 1 | 461 | use Moose::Role; | |||
0 | |||||||
0 | |||||||
4 | |||||||
5 | requires 'got_new_nav_packet'; | ||||||
6 | |||||||
7 | 1; | ||||||
8 | __END__ | ||||||
9 | |||||||
10 | |||||||
11 | =head1 NAME | ||||||
12 | |||||||
13 | UAV::Pilot::NavCollector | ||||||
14 | |||||||
15 | =head1 DESCRIPTION | ||||||
16 | |||||||
17 | Role for objects that will process navigation packets. Requires the | ||||||
18 | C<got_new_nav_packet( $packet )> method, which will take a | ||||||
19 | C<UAV::Pilot::ARDrone::NavPacket>. | ||||||
20 | |||||||
21 | =cut |