| blib/lib/UAV/Pilot/ControlRover.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::ControlRover; | ||||||
| 2 | 1 | 1 | 1625 | use v5.14; | |||
| 1 | 4 | ||||||
| 1 | 38 | ||||||
| 3 | 1 | 1 | 462 | use Moose::Role; | |||
| 0 | |||||||
| 0 | |||||||
| 4 | |||||||
| 5 | |||||||
| 6 | with 'UAV::Pilot::Control'; | ||||||
| 7 | requires 'throttle'; | ||||||
| 8 | requires 'turn'; | ||||||
| 9 | |||||||
| 10 | |||||||
| 11 | 1; | ||||||
| 12 | __END__ | ||||||
| 13 | |||||||
| 14 | |||||||
| 15 | =head1 NAME | ||||||
| 16 | |||||||
| 17 | UAV::Pilot::ControlRover | ||||||
| 18 | |||||||
| 19 | =head1 DESCRIPTION | ||||||
| 20 | |||||||
| 21 | Role for any kind of ground vehicle. | ||||||
| 22 | |||||||
| 23 | Does the C<UAV::Pilot::Control> role. | ||||||
| 24 | |||||||
| 25 | Requires the methods C<throttle( $throttle )> and C<turn( $turn )>. | ||||||
| 26 | |||||||
| 27 | =cut |