Skip to content

Commit

Permalink
Health tools based cleaning (paparazzi#2691)
Browse files Browse the repository at this point in the history
* [conf] fix health script, remove flightplans that reference missing files, fix illegal XML that python can not load.

* [fixes] removed modules with missing c-code, solved bad XML formats, fixed missing modules in airframes, solved health-tools (Python3)

* [airframe] removed unexisting modules

* [calib] unreferenced calibrations
  • Loading branch information
dewagter committed Apr 9, 2021
1 parent 951019e commit 2f094ec
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 365 deletions.
2 changes: 1 addition & 1 deletion conf/airframes/ENAC/hoops_gen_ap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
<define name="LOW_BAT_LEVEL" value="10.5" unit="V"/>
<define name="MAX_BAT_LEVEL" value="12.4" unit="V"/>
<define name="MILLIAMP_AT_FULL_THROTTLE" value="20000" unit="mA"/>
<define name="MILLIAMP_AT_IDLE_THROTTLE" value="1000" value="mA"/>
<define name="MILLIAMP_AT_IDLE_THROTTLE" value="1000" unit="mA"/>
<define name="CURRENT_ESTIMATION_NONLINEARITY" value="1.0"/>
</section>

Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/ENAC/quadrotor/bebop2_fish.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
</section>

<section name="INS" prefix="INS_">
<!--<define name="SONAR_MAX_RANGE" value="2.2"/>
<!--<define name="SONAR_MAX_RANGE" value="2.2"/> -->
<!-- Use GPS altitude measurments and set the R gain -->
<define name="USE_GPS_ALT" value="1"/>
<define name="VFF_R_GPS" value="0.01"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/ENAC/quadrotor/bebop2_fish_outdoor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
</section>

<section name="INS" prefix="INS_">
<!--<define name="SONAR_MAX_RANGE" value="2.2"/>
<!--<define name="SONAR_MAX_RANGE" value="2.2"/> -->
<!-- Use GPS altitude measurments and set the R gain -->
<define name="USE_GPS_ALT" value="1"/>
<define name="VFF_R_GPS" value="0.01"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/ENAC/quadrotor/drop1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
<define name="LOW_BAT_LEVEL" value="10.5" unit="V"/>
<define name="MAX_BAT_LEVEL" value="12.4" unit="V"/>
<define name="MILLIAMP_AT_FULL_THROTTLE" value="20000" unit="mA"/>
<define name="MILLIAMP_AT_IDLE_THROTTLE" value="1000" value="mA"/>
<define name="MILLIAMP_AT_IDLE_THROTTLE" value="1000" unit="mA"/>
<define name="CURRENT_ESTIMATION_NONLINEARITY" value="1.0"/>
</section>

Expand Down
4 changes: 2 additions & 2 deletions conf/airframes/OPENUAS/openuas_own_jetson_tx220.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
</module>

<!-- not all are tested or tuned -->
<!-- <module name="stabilization" type="rate"/>--><!-- not working yet..)
<!-- <module name="stabilization" type="rate"/>--><!-- not working yet..) -->
<!-- <module name="stabilization" type="rate_indi"/> -->

<module name="stabilization" type="int_quat"/>
Expand Down Expand Up @@ -196,7 +196,7 @@
<define name="TYPE" value="QUAD_X"/>
</section>

<!-- in case we need much more precise mixing use the table here instead of motor_mixing_run
<!-- in case we need much more precise mixing use the table here instead of motor_mixing_run -->
<!-- section name="MIXING" prefix="MOTOR_MIXING_">
<define name="TRIM_ROLL" value="0"/>
<define name="TRIM_PITCH" value="0"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/OPENUAS/openuas_parrot_disco.xml
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ The most crucial part for the magnetometer calibration:
6) Save, rebuild and upload to Disco... Done!
-->

<!-- TODO separate calib includes based on calib_$AC_ID.xml
<!-- TODO separate calib includes based on calib_$AC_ID.xml -->
<!-- Disco A -->
<!--
<define name="MAG_X_NEUTRAL" value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions conf/airframes/PPZUAV/fixed-wing/ppzimu_tiny.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
</module>
<module name="imu" type="aspirin_i2c"/>
-->
<module name="imu" type="ppzuav"/>
<module name="imu" type="pprzuav"/>
<module name="ahrs" type="float_dcm">
<!-- <configure name="USE_MAGNETOMETER" /> -->
</module>
Expand All @@ -229,7 +229,7 @@
<module name="control"/>
<!-- Sensors -->
<module name="navigation"/>
<module name="gps" type="ublox_utm"/>
<module name="gps" type="ublox"/>


</firmware>
Expand Down
49 changes: 0 additions & 49 deletions conf/airframes/PPZUAV/imu-calibrations/ppzuav_booz2imu_001.xml

This file was deleted.

50 changes: 0 additions & 50 deletions conf/airframes/PPZUAV/imu-calibrations/ppzuav_booz2imu_003.xml

This file was deleted.

49 changes: 0 additions & 49 deletions conf/airframes/PPZUAV/imu-calibrations/ppzuav_booz2imu_004.xml

This file was deleted.

50 changes: 0 additions & 50 deletions conf/airframes/PPZUAV/imu-calibrations/ppzuav_booz2imu_005.xml

This file was deleted.

2 changes: 1 addition & 1 deletion conf/airframes/tudelft/bebop2_optitrack_visionfront.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
</section>

<section name="INS" prefix="INS_">
<!--<define name="SONAR_MAX_RANGE" value="2.2"/>
<!--<define name="SONAR_MAX_RANGE" value="2.2"/ -->
<!-- Use GPS altitude measurments and set the R gain -->
<define name="USE_GPS_ALT" value="1"/>
<define name="VFF_R_GPS" value="0.01"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/tudelft/bebop2_undistort_front.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
</section>

<section name="INS" prefix="INS_">
<!--<define name="SONAR_MAX_RANGE" value="2.2"/>
<!--<define name="SONAR_MAX_RANGE" value="2.2"/ -->
<!-- Use GPS altitude measurments and set the R gain -->
<define name="USE_GPS_ALT" value="1"/>
<define name="VFF_R_GPS" value="0.01"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/tudelft/bebop_OF_hover.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
</section>

<section name="INS" prefix="INS_">
<!-- define name="SONAR_MAX_RANGE" value="2.2"/>
<!-- define name="SONAR_MAX_RANGE" value="2.2"/ -->
<!-- Optitrack -->
<define name="USE_GPS_ALT" value="1"/>
<define name="VFF_R_GPS" value="0.01"/>
Expand Down
21 changes: 0 additions & 21 deletions conf/airframes/tudelft/calibrations/bebop2_23.xml

This file was deleted.

2 changes: 1 addition & 1 deletion conf/airframes/untested/easy_glider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<!-- Actuators are automatically chosen according to board -->
<module name="control"/>
<!-- Sensors -->
<module name="gps" type="ublox_utm"/>
<module name="gps" type="ublox"/>
<module name="navigation"/>
<module name="ins" type="alt_float"/>
</firmware>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/untested/twinjet_overo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<module name="radio_control" type="ppm"/>
<module name="telemetry" type="transparent"/>
<module name="control"/>
<module name="gps" type="ublox_hitl"/>
<module name="gps" type="ublox"/>
<module name="navigation"/>
<module name="ins" type="gps_passthrough"/>
<define name="USE_JOYSTICK" value="TRUE"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/untested/twinstar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<module name="radio_control" type="ppm"/>
<module name="telemetry" type="transparent"/>
<module name="control"/>
<module name="gps" type="ublox_utm"/>
<module name="gps" type="ublox"/>
<module name="ins" type="gps_passthrough"/>
<module name="navigation"/>
</firmware>
Expand Down
13 changes: 0 additions & 13 deletions conf/flight_plans/competitions/mav05.xml

This file was deleted.

Loading

0 comments on commit 2f094ec

Please sign in to comment.