mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-24 05:45:59 +08:00
modules header are automaticaly include in the flight plan
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
<!DOCTYPE flight_plan SYSTEM "flight_plan.dtd">
|
||||
|
||||
<flight_plan alt="250" ground_alt="185" lat0="43.46223" lon0="1.27289" max_dist_from_home="400" name="test laas" qfu="270" security_height="25">
|
||||
<header>
|
||||
#include "formation.h"
|
||||
</header>
|
||||
<waypoints>
|
||||
<waypoint alt="250" name="HOME" x="0.0" y="0.0"/>
|
||||
<waypoint alt="215.0" name="IAF" x="239.7" y="92.9"/>
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
<!DOCTYPE flight_plan SYSTEM "flight_plan.dtd">
|
||||
|
||||
<flight_plan alt="250" ground_alt="185" lat0="43.46223" lon0="1.27289" max_dist_from_home="400" name="formation flight" qfu="270" security_height="25">
|
||||
<header>
|
||||
#include "formation.h"
|
||||
</header>
|
||||
<waypoints>
|
||||
<waypoint name="HOME" x="0.0" y="0.0"/>
|
||||
<waypoint name="mid" x="72.9" y="133.0"/>
|
||||
|
||||
@@ -713,6 +713,9 @@ let () =
|
||||
printf "\n";
|
||||
|
||||
printf "#include \"std.h\"\n";
|
||||
printf "#ifdef USE_MODULES\n";
|
||||
printf "#include \"modules.h\"\n";
|
||||
printf "#endif\n";
|
||||
|
||||
begin
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user