From 8bc84c29c543175443beb1397c0a09fab547e78b Mon Sep 17 00:00:00 2001 From: Christophe De Wagter Date: Sun, 22 Sep 2013 12:51:45 +0200 Subject: [PATCH] [SuperBifRf] Smaller Message for vertical loop tuning --- .../rotorcraft_basic_superbitrf.xml | 113 ++++++++++++++++++ conf/messages.xml | 8 +- sw/airborne/firmwares/rotorcraft/telemetry.h | 8 ++ 3 files changed, 128 insertions(+), 1 deletion(-) create mode 100644 conf/flight_plans/rotorcraft_basic_superbitrf.xml diff --git a/conf/flight_plans/rotorcraft_basic_superbitrf.xml b/conf/flight_plans/rotorcraft_basic_superbitrf.xml new file mode 100644 index 0000000000..635610b6ae --- /dev/null +++ b/conf/flight_plans/rotorcraft_basic_superbitrf.xml @@ -0,0 +1,113 @@ + + + +
+#include "autopilot.h" +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/conf/messages.xml b/conf/messages.xml index 1e38778f87..687c7c3e4d 100644 --- a/conf/messages.xml +++ b/conf/messages.xml @@ -1860,7 +1860,13 @@ - + + + + + + + diff --git a/sw/airborne/firmwares/rotorcraft/telemetry.h b/sw/airborne/firmwares/rotorcraft/telemetry.h index 5a6916b984..96d9cc0666 100644 --- a/sw/airborne/firmwares/rotorcraft/telemetry.h +++ b/sw/airborne/firmwares/rotorcraft/telemetry.h @@ -646,6 +646,14 @@ &guidance_v_delta_t); \ } +#define PERIODIC_SEND_TUNE_VERT(_trans, _dev) { \ + DOWNLINK_SEND_TUNE_VERT(_trans, _dev, \ + &guidance_v_z_sp, \ + &ins_ltp_pos.z, \ + &guidance_v_z_ref, \ + &guidance_v_zd_ref); \ + } + #define PERIODIC_SEND_HOVER_LOOP(_trans, _dev) { \ DOWNLINK_SEND_HOVER_LOOP(_trans, _dev, \ &guidance_h_pos_sp.x, \