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 https://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:18.104.22.168:5678