We’d like to present a Debian package that makes it even easier to get APM up and running. It includes all APM supported vehicles. The only thing needed to install it is to type these lines at the command prompt
wget http://emlid.com/files/apm.deb sudo dpkg -i apm.deb
After the installation is complete, you can launch any one the supported vehicles:
For example, if you want to run a quadcopter, the only thing you need to do is
sudo ArduCopter-quad -A <telemetry_source>
-A switch lets you choose the telemetry source.
The source might me /dev/ttyAMA0 if you use a UART-connected radio or udp:<GSC_IP>:<GSC_PORT> if you want to control your vehicle with Wi-Fi. To see another options launch APM with -h switch to see a help entry.
sudo ArduCopter-quad -h
It might produce something like this:
Usage: -A uartAPath -B uartBPath -C uartCPath Options: -serial: -A /dev/ttyO4 -B /dev/ttyS1 -tcp: -C tcp:192.168.2.15:1243:wait -A tcp:126.96.36.199:5678