From 787d9ce3fd8fef3311e6fc724f300ebb7fde0ec1 Mon Sep 17 00:00:00 2001 From: ucart <ucart_groundstation@iastate.edu> Date: Fri, 7 Apr 2017 20:54:59 -0500 Subject: [PATCH] starting a take off script --- groundStation/scripts/take_off.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 groundStation/scripts/take_off.sh diff --git a/groundStation/scripts/take_off.sh b/groundStation/scripts/take_off.sh new file mode 100644 index 000000000..ae559c6b4 --- /dev/null +++ b/groundStation/scripts/take_off.sh @@ -0,0 +1,11 @@ +#! /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 -- GitLab