#! /bin/bash

./setsource "T trim add" "summand 1" "zero" 0
./setparam "Throttle trim" *wind up value here*

sleep(1);

./setsource "T trim add" "summand 1" "Altitude PID" "Correction"
./setparam "Throttle trim" *hover value here*

./setparam "Alt Setpoint" 0 -0.3
