From dffecbd67050340566233063615de794b596fa9c Mon Sep 17 00:00:00 2001 From: dewagter Date: Mon, 27 Oct 2014 08:38:38 +0100 Subject: [PATCH] [conf] outback airframes --- conf/OpenUAS/conf_openuas_obc2014.xml | 43 + .../OpenUAS/openuas_control_panel_obc2014.xml | 177 ++++ conf/airframes/OpenUAS/openuas_vivify_mk1.xml | 825 ++++++++++++++++++ .../OpenUAS/include_obc2014_mission.xml | 585 +++++++++++++ .../OpenUAS/include_obc2014_safety.xml | 116 +++ .../OpenUAS/include_obc2014_testing.xml | 33 + .../OpenUAS/openuas_obc2014_kingaroy.xml | 66 ++ 7 files changed, 1845 insertions(+) create mode 100644 conf/OpenUAS/conf_openuas_obc2014.xml create mode 100644 conf/OpenUAS/openuas_control_panel_obc2014.xml create mode 100644 conf/airframes/OpenUAS/openuas_vivify_mk1.xml create mode 100644 conf/flight_plans/OpenUAS/include_obc2014_mission.xml create mode 100644 conf/flight_plans/OpenUAS/include_obc2014_safety.xml create mode 100644 conf/flight_plans/OpenUAS/include_obc2014_testing.xml create mode 100644 conf/flight_plans/OpenUAS/openuas_obc2014_kingaroy.xml diff --git a/conf/OpenUAS/conf_openuas_obc2014.xml b/conf/OpenUAS/conf_openuas_obc2014.xml new file mode 100644 index 00000000000..b863c1dbbe6 --- /dev/null +++ b/conf/OpenUAS/conf_openuas_obc2014.xml @@ -0,0 +1,43 @@ + + + + + + diff --git a/conf/OpenUAS/openuas_control_panel_obc2014.xml b/conf/OpenUAS/openuas_control_panel_obc2014.xml new file mode 100644 index 00000000000..d1eab888ca6 --- /dev/null +++ b/conf/OpenUAS/openuas_control_panel_obc2014.xml @@ -0,0 +1,177 @@ + +
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/conf/airframes/OpenUAS/openuas_vivify_mk1.xml b/conf/airframes/OpenUAS/openuas_vivify_mk1.xml new file mode 100644 index 00000000000..3c8fe4b2159 --- /dev/null +++ b/conf/airframes/OpenUAS/openuas_vivify_mk1.xml @@ -0,0 +1,825 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ +
+ + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + +
+ +
+ + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + +
+ + + +
+ + + +
diff --git a/conf/flight_plans/OpenUAS/include_obc2014_mission.xml b/conf/flight_plans/OpenUAS/include_obc2014_mission.xml new file mode 100644 index 00000000000..ddb7b9ccfdf --- /dev/null +++ b/conf/flight_plans/OpenUAS/include_obc2014_mission.xml @@ -0,0 +1,585 @@ + + + + + + + + +
+ +#ifndef FLIGHTPLAN_HEADER_DEFINES +#define FLIGHTPLAN_HEADER_DEFINES + +//Set Generic options + #include "autopilot.h" +//Enable AHRS Health test functions + #include "subsystems/ahrs.h" +//Enable advanced electrical power functions + #include "subsystems/electrical.h" +//Enable datalink tests + #include "subsystems/datalink/datalink.h" +//For interaction with the Flight termination Device (FTD) + #define RCChannel(_x) ((*fbw_state).channels[_x]) + +//DANGER WARNING +// define ACTIVATED_FTD 0 + + +// PHOTOGRAMMETRY settings + #define PHOTOGRAMMETRY_OVERLAP 30 // 1-99 Procent + #define PHOTOGRAMMETRY_SIDELAP 20 // 1-99 Procent + #define PHOTOGRAMMETRY_RESOLUTION 50 // mm pixel projection size + +// Incluse airframe.h To be able to use specific variables + #include "generated/airframe.h" + +// Completly replace with onboard recon copmpter interface + #ifdef DC_AUTOSHOOT_QUARTERSEC_PERIOD + //TODO make shooting distance not periodic + #define LINE_START_FUNCTION dc_autoshoot = DC_AUTOSHOOT_PERIODIC; + #define LINE_STOP_FUNCTION dc_autoshoot = DC_AUTOSHOOT_STOP; + #endif + +//Enable energy control commands from within flightplan + #include "firmwares/fixedwing/guidance/energy_ctrl.h" + +// States + #define AircraftIsBooting() LessThan(nav_block,4) // LessThan(nav_block,IndexOfBlock('Mission.ReadyForDeparture')) + + +#endif + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ diff --git a/conf/flight_plans/OpenUAS/include_obc2014_safety.xml b/conf/flight_plans/OpenUAS/include_obc2014_safety.xml new file mode 100644 index 00000000000..8147ad77f18 --- /dev/null +++ b/conf/flight_plans/OpenUAS/include_obc2014_safety.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/flight_plans/OpenUAS/include_obc2014_testing.xml b/conf/flight_plans/OpenUAS/include_obc2014_testing.xml new file mode 100644 index 00000000000..1a832cd20e9 --- /dev/null +++ b/conf/flight_plans/OpenUAS/include_obc2014_testing.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/flight_plans/OpenUAS/openuas_obc2014_kingaroy.xml b/conf/flight_plans/OpenUAS/openuas_obc2014_kingaroy.xml new file mode 100644 index 00000000000..ea957e65a75 --- /dev/null +++ b/conf/flight_plans/OpenUAS/openuas_obc2014_kingaroy.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +