Skip to content

the-peach-drone/ardupilot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thepeach logo

🇰🇷

Setup the Build Environment on Linux/Ubuntu

  • Clone Ardupilot repository and Install some required packages
$ sudo apt-get update

$ sudo apt-get install git

$ git clone https://github.com/the-peach-drone/ardupilot.git

$ cd ardupilot

$ git submodule update --init --recursive

$ Tools/environment_install/install-prereqs-ubuntu.sh -y

$ . ~/.profile
  • Add some directories to your search path (Facultative)

    -- notice the . on the start of that filename. Also, this is a hidden file, so if you're using a file manager, make sure to turn on "show hidden files"

cd ~
vim .bashrc
  • Add the following lines to the end of your ".bashrc" in your home directory .
export PATH=$PATH:$HOME/ardupilot/Tools/autotest
export PATH=/usr/lib/ccache:$PATH
  • Then reload your PATH by using the "dot" command in a terminal
$ . ~/.bashrc

$ sudo usermod -a -G dialout $USER

THE PEACH K1 Board

THEPEACH K1

  • How to build THE PEACH K1's firmware
$ ./waf clean

$ ./waf configure --board thepeach-k1

$ ./waf copter

-- The "arducopter" binaries should appear in the build/thepeach-k1/bin directory.

THE PEACH R1 Board

THEPEACH R1

  • How to build THE PEACH R1's firmware
$ ./waf clean

$ ./waf configure --board thepeach-r1

$ ./waf copter

-- The "arducopter" binaries should appear in the build/thepeach-r1/bin directory

Packages

No packages published

Languages

  • C++ 76.7%
  • Python 10.0%
  • C 8.6%
  • HTML 2.1%
  • MATLAB 0.9%
  • Lua 0.7%
  • Other 1.0%