cd /home/bit/ardupilot/ArduCopter/
sudo ArduCopter.elf -A udp:192.168.1.2:14550
-A is for primary telemetry
-B is for external GPS
-C is for secondary telemetry (it can be used without primary telemetry)
-E is for secondary external GPS
sudo ArduCopter.elf -C /dev/ttyAMA0
sudo ArduCopter.elf –A 192.168.1.2:14550 –C /dev/ttyAMA0
ardupilot is configed into a system service by default. Once you power on your raspberry board, ardupilot will launch automaticlly. Please take a look into the service config file in /lib/systemd/system/ardupilot.sercice. If you’d like to stop or disable ardupilot auto start. ssh to your raspberry board and execute “sudo systemctl stop ardupilot” or “sudo systemctl disable ardupilot”. Regarding how to access to raspberry board, please check “Configuring WiFi access” and “Configuring Ethernet access” sections in [Software Configuration] => [Prepare SD Image]
APM Planner is a ground station software for APM. It can be downloaded from the ardupilot.com APM Planner listens on UDP port 14550, so it should catch telemetry from the drone automatically.
Mission planner is another GCS for APM, you can try it.
[TODO]
a. Prepare the build environment
b. Get the code
there is APM source code which stored /home/bit/ardupilot by default.
if user want to
c. Building APM
As other APM configuration procedures are very similar for most APM-running autopilot hardware, please use the APM documentation.