Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.64 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.64 KB

Buiding the project

preparation

  1. verify you have gcc-4.8
  1. some times for cross platform building need to install aditional libreries:
  • sudo apt-get install g++-arm-linux-gnueabihf
  1. only if building is failing
  • sudo apt-get install gawk
  1. some times after updating the g++ version the makefile search for the file: arm-linux-gnueabihf-g++ but the file is called diferently, for example arm-linux-gnueabihf-g++-4.8 we need to make soft link for this file so it can be found

clone

git clone https://github.com/flyngPig/APM_simulink.git

if you have certification problems it culd be because the time is not correct:

  • verify time type in terminal: time
  • to update the time type: sudo time MMDDhhmmYYY.ss
    • for example 01/02/2016 22:33 will be: sudo 020122332016.00

making

  1. cd to the quadCopter subfolder: cd /home/pi/ardupilot/ArduCopter
  2. make -j4 navio
  3. source: http://dev.ardupilot.com/wiki/building-for-navio-on-rpi2/

runing

by default need to run in root mode (sudo)

  • cd to the quadCopter subfolder: cd /home/pi/ardupilot/ArduCopter
  • sudo ArduCopter ...

prepare

  1. configuring-i2c and SPI

links

add new mode

H/W