Install cleanflight, and add usb driver if needed:
http://blog.sam-thompson.info/cleanflight-on-mac-osx/
1) install engines and escs
2) plug usb and goto cleanflight "motors"
3) switch motors to full speed
4) plug battery to escs and wait for esc to beep
5) go back to 0 level on motors
ESC calibration:
!! Attention when connecting motors to cable properly the CW (clockwise motors) and CCW. The cables needs to be inverted.
6) turnigy remote controller binding
https://www.youtube.com/watch?v=9-Z0rTVEkHI
7) RX ppm allocation https://www.youtube.com/watch?v=yN00UdPQdRc&t=72s&pbjreload=10
7) uart allocation for controller
https://www.youtube.com/watch?v=jkl5BU5Heq0
8) set up ppm on telecommande,
system setup
RX setup -> select ppm mode on
be sure that the remot receiver is connected on port 1 (PPM enabled)
Attention une telecommande peut supporter le PPM (multiples ports en un seul), mais pas forcément les recepteurs, par exemple le tgy-ia6 ne fonctionne qu'en PWM
9) connecting receiver with Naze32:
PPM is off, on the TX? Channel 1 has GND, PWR, and SIG connections between board and RX (correct orientation) all others have SIG? Red light on RX is solid?
http://intofpv.com/t-naze32-rev6-with-flysky-fs-ia6-reciever-problems
10) attribuer les actions "gaz..." à la telecommande:
A = aileron => Roll (haut bas manette de droite) x
E = elevator = altitude = pitch (gauche droite manette de droite)
T = throttle => throttle gaz (Manette gauche - haut bas) x
R = Rudder => Yaw (man gauche - gauche droite) x
https://www.youtube.com/watch?v=v_0lf1u3F3A
Pour débugger la transmission et voir sur quel channel est affecté quel bouton, aller dans la telecommande sur le menu setup, puis sur display (on voit quel canal est affecté par le changement de position d'un bouton)
https://www.youtube.com/watch?v=cGYFRCEQ2Ps&t=521s
10) Les modes, startup + types de vols
interface de cleanflight qui permet d'activer des modes sur les boutons de la télécommande:
https://blog.dronetrest.com/setting-up-flight-modes-in-cleanflight-betaflight/
11) activate barometer and compass
Barometer is not activated by default but can be done by clicking on a button on tab "configuration" (en bas de la page)
==> NAZE32 is an old board and they deactivated compass, but can be reactivated with some tuning on the config files:
11) PID tuning:
https://www.wearefpv.fr/betaflight-3-2-reglages-pid-20170918/
https://open-txu.org/home/special-interests/multirotor/cleanflight-pid-tuning/
12) to compile cleanflight you need
for mac: [https://github.com/cleanflight/cleanflight/blob/master/docs/development/Building in Mac OS X.md](https://github.com/cleanflight/cleanflight/blob/master/docs/development/Building in Mac OS X.md)
gnu make (test make)
gcc for arm
https://launchpad.net/gcc-arm-embedded/+download
Note sur les differents softs:
Cleanflight a été forké par deux versions:
Betaflight pour le racing
iNav pour la navigation avec waypoints
Note: OSD
On Screen Display:
un petit appareil qui se branche entre la caméra et le tx pour adjoindre a l'écran des informations contextuelles.
AP: auto pilot, généralement connecté à un GPS et un OSD
--> how to fligh your drone:
https://uavcoach.com/how-to-fly-a-quadcopter-guide/\#Controls
Pitch: manette de droite, avant arrière (penche le drone en avant ou en arrière)
Roll: manette de droite, gauche ou droite: penche le drone vers la droite ou vers la gauche (pour tourner)
Throttle: gaz, accélère les hélices (le drone accélère dans la direction ou il est penché)
Yaw: fait tourner le drone sur lui même (sert plus pour les figures ou les photos, pas pour la direction)