UAV::Pilot::Wumpus::Control
my $driver = UAV::Pilot::Wumpus::Driver->new({ host => $hostname, }); $driver->connect; my $control = UAV::Pilot::Wumpus::Control::Event->new({ driver => $driver, }); $control->turn( 30 ); $control->throttle( 70 );
NOTE: You probably want to use UAV::Pilot::Wumpus::Control::Event instead of this.
UAV::Pilot::Wumpus::Control::Event
A controller for the WumpusRover. Does the UAV::Pilot::ControlRover and UAV::Pilot::Logger roles.
UAV::Pilot::ControlRover
UAV::Pilot::Logger
Sends a packet using the passed driver containing the current movement settings.
driver
A read/write attribute that takes values between 0 and 180. 0 is to the left and 180 is to the right.
A read/write attribute that takes values between 0 and 100. 0 is stop or full reverse (depending on how your ESC is setup). 100 is full speed ahead.
To install UAV::Pilot::Wumpus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UAV::Pilot::Wumpus
CPAN shell
perl -MCPAN -e shell install UAV::Pilot::Wumpus
For more information on module installation, please visit the detailed CPAN module installation guide.