mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
Improving building of the example aircraft to build all airframe targets.
This commit is contained in:
@@ -260,13 +260,9 @@ ab_clean:
|
||||
find sw/airborne -name '*~' -exec rm -f {} \;
|
||||
|
||||
test_all_example_airframes:
|
||||
$(MAKE) AIRCRAFT=BOOZ2_A1 clean_ac ap sim
|
||||
$(MAKE) AIRCRAFT=Microjet clean_ac ap sim
|
||||
$(MAKE) AIRCRAFT=Tiny_IMU clean_ac ap
|
||||
$(MAKE) AIRCRAFT=EasyStar_ETS clean_ac ap sim
|
||||
for ap in `grep name conf/conf.xml.example | sed -e 's/.*name=\"//' | sed -e 's/".*//'`; do for airframe in `grep $$ap conf/conf.xml.example | sed -e 's/.*airframe=\"//' | sed -e 's/".*//'`; do for target in `grep target conf/$$airframe | sed -e 's/.*name=\"//' | sed -e 's/\".*//'`; do echo "Making $$ap $$target"; make -C ./ AIRCRAFT=$$ap clean_ac $$target.compile || exit 1; done; done; done
|
||||
|
||||
test_all_example_airframes2:
|
||||
for ap in `grep name conf/conf.xml.example | sed -e 's/.*name=\"//' | sed -e 's/"//'`; do echo "Making $$ap"; make -C ./ AIRCRAFT=$$ap clean_ac ap.compile || exit 1; done
|
||||
# for ap in `grep name conf/conf.xml.example | sed -e 's/.*name=\"//' | sed -e 's/".*//'`; do echo "Making $$ap"; make -C ./ AIRCRAFT=$$ap clean_ac ap.compile || exit 1; done
|
||||
|
||||
commands: paparazzi sw/simulator/launchsitl
|
||||
|
||||
|
||||
+10
-80
@@ -2,92 +2,22 @@
|
||||
|
||||
<conf>
|
||||
|
||||
<!-- NOTE: All targets in the example config need to be on single lines so that the "make test_all_example_airframes" target can build all targets for each aircraft airframe -->
|
||||
|
||||
<!-- arm7 aircrafts -->
|
||||
|
||||
<!-- booz2 -->
|
||||
<aircraft
|
||||
name="BOOZ2_A1"
|
||||
ac_id="150"
|
||||
airframe="airframes/Poine/booz2_a1.xml"
|
||||
radio="radios/cockpitSX.xml"
|
||||
telemetry="telemetry/telemetry_booz2.xml"
|
||||
flight_plan="flight_plans/dummy.xml"
|
||||
settings="settings/settings_booz2.xml settings/settings_booz2_ahrs_cmpl.xml"
|
||||
gui_color="white"
|
||||
/>
|
||||
<aircraft name="BOOZ2_A1" ac_id="150" airframe="airframes/Poine/booz2_a1.xml" radio="radios/cockpitSX.xml" telemetry="telemetry/telemetry_booz2.xml" flight_plan="flight_plans/dummy.xml" settings="settings/settings_booz2.xml settings/settings_booz2_ahrs_cmpl.xml" gui_color="white" />
|
||||
|
||||
<!-- LISA -->
|
||||
<aircraft
|
||||
name="Hexa_LisaL"
|
||||
ac_id="153"
|
||||
airframe="airframes/Poine/h_hex.xml"
|
||||
radio="radios/cockpitSX.xml"
|
||||
telemetry="telemetry/telemetry_booz2.xml"
|
||||
flight_plan="flight_plans/dummy.xml"
|
||||
settings="settings/settings_booz2.xml"
|
||||
gui_color="white"
|
||||
/>
|
||||
<aircraft
|
||||
name="BOOZ2_A7"
|
||||
ac_id="159"
|
||||
airframe="airframes/Poine/booz2_a7.xml"
|
||||
radio="radios/cockpitSX.xml"
|
||||
telemetry="telemetry/telemetry_booz2.xml"
|
||||
flight_plan="flight_plans/dummy.xml"
|
||||
settings="settings/settings_booz2.xml"
|
||||
gui_color="white"
|
||||
/>
|
||||
<aircraft
|
||||
name="LISA_ASCTEC_PIOTR"
|
||||
ac_id="161"
|
||||
airframe="airframes/esden/lisa_asctec.xml"
|
||||
radio="radios/cockpitSX.xml"
|
||||
telemetry="telemetry/telemetry_booz2.xml"
|
||||
flight_plan="flight_plans/dummy.xml"
|
||||
settings="settings/settings_booz2.xml settings/settings_booz2_ahrs_cmpl.xml"
|
||||
gui_color="white"
|
||||
/>
|
||||
<aircraft name="Hexa_LisaL" ac_id="153" airframe="airframes/Poine/h_hex.xml" radio="radios/cockpitSX.xml" telemetry="telemetry/telemetry_booz2.xml" flight_plan="flight_plans/dummy.xml" settings="settings/settings_booz2.xml" gui_color="white" />
|
||||
<aircraft name="BOOZ2_A7" ac_id="159" airframe="airframes/Poine/booz2_a7.xml" radio="radios/cockpitSX.xml" telemetry="telemetry/telemetry_booz2.xml" flight_plan="flight_plans/dummy.xml" settings="settings/settings_booz2.xml" gui_color="white" />
|
||||
<aircraft name="LISA_ASCTEC_PIOTR" ac_id="161" airframe="airframes/esden/lisa_asctec.xml" radio="radios/cockpitSX.xml" telemetry="telemetry/telemetry_booz2.xml" flight_plan="flight_plans/dummy.xml" settings="settings/settings_booz2.xml settings/settings_booz2_ahrs_cmpl.xml" gui_color="white" />
|
||||
|
||||
<!-- tiny -->
|
||||
<aircraft
|
||||
name="Microjet"
|
||||
ac_id="5"
|
||||
airframe="airframes/microjet_example.xml"
|
||||
radio="radios/cockpitMM.xml"
|
||||
telemetry="telemetry/default.xml"
|
||||
flight_plan="flight_plans/basic.xml"
|
||||
settings="settings/basic_infrared.xml"
|
||||
gui_color="#6293ba"
|
||||
/>
|
||||
<aircraft
|
||||
name="Tiny_IMU"
|
||||
ac_id="7"
|
||||
airframe="airframes/example_twog_analogimu.xml"
|
||||
radio="radios/cockpitSX.xml"
|
||||
telemetry="telemetry/default_fixedwing_imu.xml"
|
||||
flight_plan="flight_plans/versatile.xml"
|
||||
settings="settings/tuning_ins.xml"
|
||||
gui_color="blue"
|
||||
/>
|
||||
<aircraft
|
||||
name="Twinjet"
|
||||
ac_id="6"
|
||||
airframe="airframes/twinjet_example.xml"
|
||||
radio="radios/cockpitMM.xml"
|
||||
telemetry="telemetry/default.xml"
|
||||
flight_plan="flight_plans/versatile.xml"
|
||||
settings="settings/tuning.xml settings/infrared.xml"
|
||||
gui_color="#ba6293"
|
||||
/>
|
||||
<aircraft
|
||||
name="EasyStar_ETS"
|
||||
ac_id="8"
|
||||
airframe="airframes/easystar_ets_example.xml"
|
||||
radio="radios/cockpitSX.xml"
|
||||
telemetry="telemetry/default.xml"
|
||||
flight_plan="flight_plans/versatile.xml"
|
||||
settings="settings/tuning.xml settings/infrared.xml"
|
||||
gui_color="red"
|
||||
/>
|
||||
<aircraft name="Microjet" ac_id="5" airframe="airframes/microjet_example.xml" radio="radios/cockpitMM.xml" telemetry="telemetry/default.xml" flight_plan="flight_plans/basic.xml" settings="settings/basic_infrared.xml" gui_color="#6293ba" />
|
||||
<aircraft name="Tiny_IMU" ac_id="7" airframe="airframes/example_twog_analogimu.xml" radio="radios/cockpitSX.xml" telemetry="telemetry/default_fixedwing_imu.xml" flight_plan="flight_plans/versatile.xml" settings="settings/tuning_ins.xml" gui_color="blue" />
|
||||
<aircraft name="Twinjet" ac_id="6" airframe="airframes/twinjet_example.xml" radio="radios/cockpitMM.xml" telemetry="telemetry/default.xml" flight_plan="flight_plans/versatile.xml" settings="settings/tuning.xml settings/infrared.xml" gui_color="#ba6293" />
|
||||
<aircraft name="EasyStar_ETS" ac_id="8" airframe="airframes/easystar_ets_example.xml" radio="radios/cockpitSX.xml" telemetry="telemetry/default.xml" flight_plan="flight_plans/versatile.xml" settings="settings/tuning.xml settings/infrared.xml" gui_color="red" />
|
||||
|
||||
</conf>
|
||||
|
||||
Reference in New Issue
Block a user