Ardupilot autopilot for Parrot drones - Parrot-Developers/ardupilot GitHub Wiki
Get the bebop firmware here. Push it to the target.
Just download the ArduCopter.elf binary here.
Get the latest sources on Parrot github:
git clone https://github.com/Parrot-Developers/ardupilot.git
or on diydrones github:
git clone https://github.com/diydrones/ardupilot.git
###Install armhf toolchain
Download linaro 2014 armhf toolchain
For instance here:
https://releases.linaro.org/14.07/components/toolchain/binaries/
Untar it in /opt/
sudo tar -xjvf gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux.tar.bz2 -C /opt/
Add the bin directory to the PATH environment variable
export PATH=opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin:$PATH
#Compile the code
cd ardupilot/ArduCopter
make bebop
Strip the Binary in order to reduce memory usage
arm-linux-gnueabihf-strip ArduCopter/elf
sudo apt-get install android-tools-adb
Find the Wi-Fi network of your bebop normally BebopDrone-{SerialNo} and connect to it
Connect to it over ip, port 9050
note: the address of the Bebop is 192.168.42.1
adb connect 192.168.42.1:9050
adb push ArduCopter.elf /usr/bin/arducopter
kk
arducopter -A udp:192.168.42.255:14550:bcast -B /dev/ttyPA1 -C udp:192.168.42.255:14551:bcast -l data/ftp/internal_000/APM/logs -t /data/ftp/internal_000/APM/terrain