[modules][ocaml] implement module dependency (#2669)

- support depends, conflicts and provides nodes, all under a 'dep' node
- autoload are kept for now and are not moved yet
- modules are updated for new dep format
- it is now required that module's name and filename are the same
This commit is contained in:
Gautier Hattenberger
2021-03-16 17:47:34 +01:00
committed by GitHub
parent 97fa1d73ac
commit e4d9e10492
149 changed files with 589 additions and 284 deletions
+3 -3
View File
@@ -55,9 +55,9 @@
</module> </module>
<!--configure name="SDLOG_USE_RTC" value="FALSE"/--> <!--configure name="SDLOG_USE_RTC" value="FALSE"/-->
<module name="tlsf"/> <!--module name="tlsf"/>
<module name="pprzlog"/> <module name="pprzlog"/>
<module name="logger" type="sd_chibios"/> <module name="logger" type="sd_chibios"/-->
<module name="flight_recorder"/> <module name="flight_recorder"/>
</firmware> </firmware>
@@ -216,7 +216,7 @@
<section name="SIMULATOR" prefix="NPS_"> <section name="SIMULATOR" prefix="NPS_">
<define name="JSBSIM_LAUNCHSPEED" value="15"/> <define name="JSBSIM_LAUNCHSPEED" value="15"/>
<define name="JSBSIM_MODEL" value="easystar" type="string"/> <define name="JSBSIM_MODEL" value="easystar" type="string"/>
<define name="SENSORS_PARAMS" value="nps_sensors_params_wind_estimator.h" type="string"/> <define name="SENSORS_PARAMS" value="nps_sensors_params_default.h" type="string"/>
<define name="JS_AXIS_MODE" value="4"/> <define name="JS_AXIS_MODE" value="4"/>
</section> </section>
+3 -1
View File
@@ -37,7 +37,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>pwm_meas</depends> <dep>
<depends>pwm_meas</depends>
</dep>
<header> <header>
<file name="aoa_pwm.h" /> <file name="aoa_pwm.h" />
</header> </header>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="ahrs_flat_cmpl_rmat" dir="ahrs"> <module name="ahrs_float_cmpl_rmat" dir="ahrs">
<doc> <doc>
<description> <description>
AHRS using complementary filter in floating point. AHRS using complementary filter in floating point.
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="ahrs_float_dcm" dir="ahrs"> <module name="ahrs_float_invariant" dir="ahrs">
<doc> <doc>
<description> <description>
AHRS using invariant filter. AHRS using invariant filter.
+3 -1
View File
@@ -10,7 +10,9 @@
- ADC channels can be used for gyros. - ADC channels can be used for gyros.
</description> </description>
</doc> </doc>
<depends>infrared_adc</depends> <dep>
<depends>infrared_adc</depends>
</dep>
<header> <header>
<file name="ahrs_infrared.h"/> <file name="ahrs_infrared.h"/>
</header> </header>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="auto1_cmd" dir="switching"> <module name="auto1_commands" dir="switching">
<doc> <doc>
<description>AUTO1 FLAPS/HATCH COMMANDS. <description>AUTO1 FLAPS/HATCH COMMANDS.
Enable RC controlled HATCH and BRAKE/FLAPS in both MANUAL and AUTO1, while automatic in AUTO2. Enable RC controlled HATCH and BRAKE/FLAPS in both MANUAL and AUTO1, while automatic in AUTO2.
+3 -1
View File
@@ -7,6 +7,9 @@
<header> <header>
<file name="baro_MS5534A.h"/> <file name="baro_MS5534A.h"/>
</header> </header>
<dep>
<depends>spi_master</depends>
</dep>
<init fun="baro_MS5534A_init()"/> <init fun="baro_MS5534A_init()"/>
<periodic fun="baro_MS5534A_send()" freq="20"/> <periodic fun="baro_MS5534A_send()" freq="20"/>
<event fun="baro_MS5534A_event()"/> <event fun="baro_MS5534A_event()"/>
@@ -14,7 +17,6 @@
<file name="baro_MS5534A.c"/> <file name="baro_MS5534A.c"/>
<define name="USE_BARO_MS5534A"/> <define name="USE_BARO_MS5534A"/>
<define name="USE_SPI_SLAVE0"/> <define name="USE_SPI_SLAVE0"/>
<define name="SPI_MASTER"/>
<configure name="BARO_MS5534A_W1" value="0xAC20"/> <configure name="BARO_MS5534A_W1" value="0xAC20"/>
<configure name="BARO_MS5534A_W2" value="0x87D9"/> <configure name="BARO_MS5534A_W2" value="0x87D9"/>
<configure name="BARO_MS5534A_W3" value="0x8D9C"/> <configure name="BARO_MS5534A_W3" value="0x8D9C"/>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="baro_bmp280" dir="sensors"> <module name="baro_bmp280_i2c" dir="sensors">
<doc> <doc>
<description> <description>
Bosch-Sensortech BMP280xx pressure sensor Bosch-Sensortech BMP280xx pressure sensor
+3 -3
View File
@@ -10,6 +10,9 @@
<configure name="MS5611_SLAVE_IDX" value="SPI_SLAVE0" description="SPI slave select index"/> <configure name="MS5611_SLAVE_IDX" value="SPI_SLAVE0" description="SPI slave select index"/>
<define name="SENSOR_SYNC_SEND" description="flag to enable sending BARO_MS5611 message on every new measurement"/> <define name="SENSOR_SYNC_SEND" description="flag to enable sending BARO_MS5611 message on every new measurement"/>
</doc> </doc>
<dep>
<depends>spi_master</depends>
</dep>
<header> <header>
<file name="baro_ms5611_spi.h"/> <file name="baro_ms5611_spi.h"/>
</header> </header>
@@ -20,9 +23,6 @@
<makefile target="ap"> <makefile target="ap">
<configure name="MS5611_SPI_DEV" default="spi1" case="upper|lower"/> <configure name="MS5611_SPI_DEV" default="spi1" case="upper|lower"/>
<configure name="MS5611_SLAVE_IDX" default="spi_slave0" case="upper|lower"/> <configure name="MS5611_SLAVE_IDX" default="spi_slave0" case="upper|lower"/>
<raw>
include $(CFG_SHARED)/spi_master.makefile
</raw>
<define name="USE_$(MS5611_SPI_DEV_UPPER)" /> <define name="USE_$(MS5611_SPI_DEV_UPPER)" />
<define name="USE_$(MS5611_SLAVE_IDX_UPPER)" /> <define name="USE_$(MS5611_SLAVE_IDX_UPPER)" />
<define name="MS5611_SPI_DEV" value="$(MS5611_SPI_DEV_LOWER)" /> <define name="MS5611_SPI_DEV" value="$(MS5611_SPI_DEV_LOWER)" />
+3 -2
View File
@@ -8,13 +8,14 @@
<header> <header>
<file name="baro_scp.h"/> <file name="baro_scp.h"/>
</header> </header>
<dep>
<depends>spi_master</depends>
</dep>
<init fun="baro_scp_init()"/> <init fun="baro_scp_init()"/>
<periodic fun="baro_scp_periodic()" freq="1.8"/> <periodic fun="baro_scp_periodic()" freq="1.8"/>
<event fun="baro_scp_event()"/> <event fun="baro_scp_event()"/>
<makefile target="ap"> <makefile target="ap">
<file name="baro_scp.c"/> <file name="baro_scp.c"/>
<define name="SPI_MASTER"/>
<define name="USE_SPI"/>
</makefile> </makefile>
</module> </module>
+3 -1
View File
@@ -53,7 +53,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<autoload name="video_thread"/> <dep>
<depends>video_thread</depends>
</dep>
<header> <header>
<file name="mt9v117.h"/> <file name="mt9v117.h"/>
+3 -3
View File
@@ -12,10 +12,10 @@
Normal up of the board is on STM32F405 side. Normal up of the board is on STM32F405 side.
</description> </description>
</doc> </doc>
<dep>
<depends>spi_master,osd_max7456,baro_bmp280_i2c</depends>
</dep>
<autoload name="imu" type="mpu6000"/> <autoload name="imu" type="mpu6000"/>
<autoload name="spi" type="master"/>
<autoload name="osd_max7456" />
<autoload name="baro_bmp280_i2c" />
<makefile target="!sim|nps|fbw"> <makefile target="!sim|nps|fbw">
<!-- IMU CONFIGURATION --> <!-- IMU CONFIGURATION -->
+3 -4
View File
@@ -13,11 +13,10 @@
</description> </description>
<configure name="BOARD_MATEK_ROTATED" value="FALSE|TRUE" description="if TRUE, the board is not using is default orientation and axis can be redefined by hand"/> <configure name="BOARD_MATEK_ROTATED" value="FALSE|TRUE" description="if TRUE, the board is not using is default orientation and axis can be redefined by hand"/>
</doc> </doc>
<dep>
<depends>spi_master,osd_max7456,baro_bmp280_i2c,current_sensor</depends>
</dep>
<autoload name="imu" type="mpu6000"/> <autoload name="imu" type="mpu6000"/>
<autoload name="spi" type="master"/>
<autoload name="osd_max7456"/>
<autoload name="baro_bmp280_i2c"/>
<autoload name="current_sensor"/>
<makefile target="!sim|nps|fbw"> <makefile target="!sim|nps|fbw">
<!-- IMU CONFIGURATION --> <!-- IMU CONFIGURATION -->
+3 -2
View File
@@ -12,9 +12,10 @@
</description> </description>
<configure name="BOARD_TAWAKI_ROTATED" value="FALSE|TRUE" description="if TRUE, the board is not using is default orientation and axis can be redefined by hand"/> <configure name="BOARD_TAWAKI_ROTATED" value="FALSE|TRUE" description="if TRUE, the board is not using is default orientation and axis can be redefined by hand"/>
</doc> </doc>
<dep>
<depends>baro_bmp3,mag_lis3mdl</depends>
</dep>
<autoload name="imu" type="mpu6000"/> <autoload name="imu" type="mpu6000"/>
<autoload name="baro" type="bmp3"/>
<autoload name="mag" type="lis3mdl"/>
<makefile target="!sim|nps|fbw"> <makefile target="!sim|nps|fbw">
<define name="IMU_MPU_GYRO_RANGE" value="MPU60X0_GYRO_RANGE_1000"/> <define name="IMU_MPU_GYRO_RANGE" value="MPU60X0_GYRO_RANGE_1000"/>
<define name="IMU_MPU_ACCEL_RANGE" value="MPU60X0_ACCEL_RANGE_8G"/> <define name="IMU_MPU_ACCEL_RANGE" value="MPU60X0_ACCEL_RANGE_8G"/>
+3 -1
View File
@@ -4,7 +4,9 @@
<doc> <doc>
<description>Camera control to point a segment</description> <description>Camera control to point a segment</description>
</doc> </doc>
<depends>cam_point</depends> <dep>
<depends>cam_point</depends>
</dep>
<header> <header>
<file name="cam_segment.h"/> <file name="cam_segment.h"/>
</header> </header>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="config"> <module name="configure_actuators_mkk_v2" dir="config">
<doc> <doc>
<description>Configure Mikrokopter MKK v2.0 BLDC motor controllers (requires subsystem actuators_mkk_v2)</description> <description>Configure Mikrokopter MKK v2.0 BLDC motor controllers (requires subsystem actuators_mkk_v2)</description>
</doc> </doc>
+3 -2
View File
@@ -9,7 +9,8 @@
- guidance_basic_fw - guidance_basic_fw
</description> </description>
</doc> </doc>
<autoload name="stabilization_attitude_fw"/> <dep>
<autoload name="guidance_basic_fw"/> <depends>stabilization_attitude_fw,guidance_basic_fw</depends>
</dep>
<makefile target="ap|sim|nps" firmware="fixedwing"/> <makefile target="ap|sim|nps" firmware="fixedwing"/>
</module> </module>
+4 -3
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="control" dir="control"> <module name="control_adaptive" dir="control">
<doc> <doc>
<description> <description>
Adaptive control for fixed-wing aircraft. Adaptive control for fixed-wing aircraft.
@@ -9,7 +9,8 @@
- guidance_basic_fw - guidance_basic_fw
</description> </description>
</doc> </doc>
<autoload name="stabilization_adaptive_fw"/> <dep>
<autoload name="guidance_basic_fw"/> <depends>stabilization_adaptive_fw,guidance_basic_fw</depends>
</dep>
<makefile target="ap|sim|nps" firmware="fixedwing"/> <makefile target="ap|sim|nps" firmware="fixedwing"/>
</module> </module>
+4 -3
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="control" dir="control"> <module name="control_energy" dir="control">
<doc> <doc>
<description> <description>
Energy control for fixed-wing aircraft. Energy control for fixed-wing aircraft.
@@ -9,7 +9,8 @@
- guidance_energy - guidance_energy
</description> </description>
</doc> </doc>
<autoload name="stabilization_attitude_fw"/> <dep>
<autoload name="guidance_energy"/> <depends>stabilization_attitude_fw,guidance_energy</depends>
</dep>
<makefile target="ap|sim|nps" firmware="fixedwing"/> <makefile target="ap|sim|nps" firmware="fixedwing"/>
</module> </module>
+4 -3
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="control" dir="control"> <module name="control_energyadaptive" dir="control">
<doc> <doc>
<description> <description>
Energy control for fixed-wing aircraft with adaptive stabilization. Energy control for fixed-wing aircraft with adaptive stabilization.
@@ -9,7 +9,8 @@
- guidance_energy - guidance_energy
</description> </description>
</doc> </doc>
<autoload name="stabilization_adaptive_fw"/> <dep>
<autoload name="guidance_energy"/> <depends>stabilization_adaptive_fw,guidance_energy</depends>
</dep>
<makefile target="ap|sim|nps" firmware="fixedwing"/> <makefile target="ap|sim|nps" firmware="fixedwing"/>
</module> </module>
+4 -3
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="control" dir="control"> <module name="control_new" dir="control">
<doc> <doc>
<description> <description>
Full PID control for fixed-wing aircraft. Full PID control for fixed-wing aircraft.
@@ -9,7 +9,8 @@
- guidance_full_pid_fw - guidance_full_pid_fw
</description> </description>
</doc> </doc>
<autoload name="stabilization_adaptive_fw"/> <dep>
<autoload name="guidance_full_pid_fw"/> <depends>stabilization_adaptive_fw,guidance_full_pid_fw</depends>
</dep>
<makefile target="ap|sim|nps" firmware="fixedwing"/> <makefile target="ap|sim|nps" firmware="fixedwing"/>
</module> </module>
+3 -1
View File
@@ -24,7 +24,9 @@
</doc> </doc>
<depends>extra_dl</depends> <dep>
<depends>extra_dl</depends>
</dep>
<header> <header>
<file name="copilot.h"/> <file name="copilot.h"/>
</header> </header>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="ctrl_module_demo" dir="ctrl"> <module name="ctrl_module_innerloop_demo" dir="ctrl">
<doc> <doc>
<description> <description>
Demo Control Module. Demo Control Module.
+3 -1
View File
@@ -32,7 +32,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>video_thread</depends> <dep>
<depends>video_thread</depends>
</dep>
<header> <header>
<file name="cv_blob_locator.h"/> <file name="cv_blob_locator.h"/>
+4 -2
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="ColorFilter" dir="computer_vision"> <module name="cv_colorfilter" dir="computer_vision">
<doc> <doc>
<description>ColorFilter</description> <description>ColorFilter</description>
<define name="COLORFILTER_CAMERA" value="front_camera|bottom_camera" description="Video device to use"/> <define name="COLORFILTER_CAMERA" value="front_camera|bottom_camera" description="Video device to use"/>
@@ -20,7 +20,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>video_thread</depends> <dep>
<depends>video_thread</depends>
</dep>
<header> <header>
<file name="colorfilter.h"/> <file name="colorfilter.h"/>
+3 -1
View File
@@ -48,7 +48,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>video_thread</depends> <dep>
<depends>video_thread</depends>
</dep>
<header> <header>
<file name="cv_detect_color_object.h"/> <file name="cv_detect_color_object.h"/>
+3 -1
View File
@@ -61,7 +61,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>video_thread</depends> <dep>
<depends>video_thread</depends>
</dep>
<header> <header>
<file name="detect_gate.h"/> <file name="detect_gate.h"/>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="detect_window" dir="computer_vision"> <module name="cv_detect_window" dir="computer_vision">
<doc> <doc>
<description> <description>
Detect window Detect window
+3 -3
View File
@@ -180,9 +180,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>video_thread</depends> <dep>
<autoload name="agl_dist"/> <depends>video_thread,agl_dist,pose_history</depends>
<autoload name="pose_history"/> </dep>
<header> <header>
<file name="opticflow_module.h"/> <file name="opticflow_module.h"/>
+5 -3
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="qrcode" dir="computer_vision/qrcode"> <module name="cv_qrcode" dir="computer_vision/qrcode">
<doc> <doc>
<description> <description>
QR code reader using ZBAR library QR code reader using ZBAR library
@@ -10,9 +10,11 @@
<define name="QRCODE_CAMERA" value="front_camera|bottom_camera" description="The V4L2 camera device that is used for searching a QR code"/> <define name="QRCODE_CAMERA" value="front_camera|bottom_camera" description="The V4L2 camera device that is used for searching a QR code"/>
<define name="QRCODE_FPS" value="0" description="The (maximum) frequency to run the calculations at. If zero, it will max out at the camera frame rate"/> <define name="QRCODE_FPS" value="0" description="The (maximum) frequency to run the calculations at. If zero, it will max out at the camera frame rate"/>
<define name="QRCODE_DRAW_RECTANGLE" value="TRUE|FALSE" description="Whether or not to draw a rectangle around a found QR code"/> <define name="QRCODE_DRAW_RECTANGLE" value="TRUE|FALSE" description="Whether or not to draw a rectangle around a found QR code"/>
</doc> </doc>
<depends>video_thread</depends> <dep>
<depends>video_thread</depends>
</dep>
<header> <header>
<file name="qr_code.h"/> <file name="qr_code.h"/>
+3 -1
View File
@@ -32,7 +32,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>video_thread</depends> <dep>
<depends>video_thread</depends>
</dep>
<header> <header>
<file name="undistort_image.h"/> <file name="undistort_image.h"/>
+3 -1
View File
@@ -41,7 +41,9 @@
</dl_settings> </dl_settings>
</dl_settings> </dl_settings>
</settings> </settings>
<conflicts>digital_cam,digital_cam_servo,digital_cam_i2co,digital_cam_i2c,digital_cam_video</conflicts> <dep>
<conflicts>digital_cam,digital_cam_servo,digital_cam_i2co,digital_cam_i2c,digital_cam_video</conflicts>
</dep>
<header> <header>
<file name="dc_ctrl_parrot_mykonos.h"/> <file name="dc_ctrl_parrot_mykonos.h"/>
<file name="dc.h"/> <file name="dc.h"/>
+3 -1
View File
@@ -51,7 +51,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<conflicts>digital_cam_i2c,digital_cam_servo,digital_cam_uart,digital_cam_video</conflicts> <dep>
<conflicts>digital_cam_i2c,digital_cam_servo,digital_cam_uart,digital_cam_video</conflicts>
</dep>
<header> <header>
<file name="gpio_cam_ctrl.h"/> <file name="gpio_cam_ctrl.h"/>
+4 -2
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="atmega_i2c_cam_ctrl" dir="digital_cam"> <module name="digital_cam_i2c" dir="digital_cam">
<doc> <doc>
<description> <description>
Digital Photo Camera Triggering (using a I2C channel) Digital Photo Camera Triggering (using a I2C channel)
@@ -14,7 +14,9 @@
<define name="DC_SHOOT_ON_BUTTON_RELEASE" /> <define name="DC_SHOOT_ON_BUTTON_RELEASE" />
<define name="DC_SHOT_SYNC_SEND" value="TRUE|FALSE" description="send DC_SHOT message when photo was taken (default: TRUE)"/> <define name="DC_SHOT_SYNC_SEND" value="TRUE|FALSE" description="send DC_SHOT message when photo was taken (default: TRUE)"/>
</doc> </doc>
<conflicts>digital_cam,digital_cam_servo,digital_cam_uart,digital_cam_video</conflicts> <dep>
<conflicts>digital_cam,digital_cam_servo,digital_cam_uart,digital_cam_video</conflicts>
</dep>
<header> <header>
<file name="atmega_i2c_cam_ctrl.h"/> <file name="atmega_i2c_cam_ctrl.h"/>
<file name="dc.h"/> <file name="dc.h"/>
+3 -1
View File
@@ -17,7 +17,9 @@
<define name="DC_AUTOSHOOT_DISTANCE_INTERVAL" value="50" description="grid in meters"/> <define name="DC_AUTOSHOOT_DISTANCE_INTERVAL" value="50" description="grid in meters"/>
</doc> </doc>
<conflicts>digital_cam,digital_cam_i2c,digital_cam_uart,digital_cam_video</conflicts> <dep>
<conflicts>digital_cam,digital_cam_i2c,digital_cam_uart,digital_cam_video</conflicts>
</dep>
<header> <header>
<file name="servo_cam_ctrl.h"/> <file name="servo_cam_ctrl.h"/>
+3 -1
View File
@@ -11,7 +11,9 @@
</description> </description>
<define name="DC_RADIO_SHOOT" value="RADIO_xxx" description="specifies the channel to be used to trigger the camera by radio transmiter"/> <define name="DC_RADIO_SHOOT" value="RADIO_xxx" description="specifies the channel to be used to trigger the camera by radio transmiter"/>
</doc> </doc>
<depends>digital_cam|digital_cam_servo|digital_cam_uart|digital_cam_i2c|digital_cam_video</depends> <dep>
<depends>digital_cam|digital_cam_servo|digital_cam_uart|digital_cam_i2c|digital_cam_video</depends>
</dep>
<header> <header>
<file name="dc_shoot_rc.h"/> <file name="dc_shoot_rc.h"/>
</header> </header>
+4 -2
View File
@@ -1,5 +1,5 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="uart_cam_ctrl" dir="digital_cam"> <module name="digital_cam_uart" dir="digital_cam">
<doc> <doc>
<description> <description>
Digital Photo Camera Triggering (using a UART link) Digital Photo Camera Triggering (using a UART link)
@@ -53,7 +53,9 @@
</dl_settings> </dl_settings>
</dl_settings> </dl_settings>
</settings> </settings>
<conflicts>digital_cam,digital_cam_servo,digital_cam_i2c</conflicts> <dep>
<conflicts>digital_cam,digital_cam_servo,digital_cam_i2c</conflicts>
</dep>
<header> <header>
<file name="uart_cam_ctrl.h"/> <file name="uart_cam_ctrl.h"/>
<file name="dc.h"/> <file name="dc.h"/>
+5 -4
View File
@@ -1,5 +1,5 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="video_cam_ctrl" dir="digital_cam"> <module name="digital_cam_video" dir="digital_cam">
<doc> <doc>
<description> <description>
Digital Photo Camera Triggering (using embedded video) Digital Photo Camera Triggering (using embedded video)
@@ -34,9 +34,10 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>video_capture</depends> <dep>
<depends>video_capture</depends>
<conflicts>digital_cam,digital_cam_servo,digital_cam_i2c,digital_cam_uart</conflicts> <conflicts>digital_cam,digital_cam_servo,digital_cam_i2c,digital_cam_uart</conflicts>
</dep>
<header> <header>
<file name="video_cam_ctrl.h"/> <file name="video_cam_ctrl.h"/>
+4 -4
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="loggers"> <module name="direct_memory_logger" dir="loggers">
<doc> <doc>
<description> <description>
Directly log values to memory for flash chips. Directly log values to memory for flash chips.
@@ -18,6 +18,9 @@
</dl_settings> </dl_settings>
</dl_settings> </dl_settings>
</settings> </settings>
<dep>
<depends>spi_master</depends>
</dep>
<header> <header>
<file name="direct_memory_logger.h"/> <file name="direct_memory_logger.h"/>
@@ -30,9 +33,6 @@
<configure name="DM_LOG_UART" default="uart1" case="upper|lower"/> <configure name="DM_LOG_UART" default="uart1" case="upper|lower"/>
<configure name="DM_LOG_SPI_DEV" default="spi2" case="upper|lower"/> <configure name="DM_LOG_SPI_DEV" default="spi2" case="upper|lower"/>
<configure name="DM_LOG_SPI_SLAVE_IDX" default="spi_slave1" case="upper|lower"/> <configure name="DM_LOG_SPI_SLAVE_IDX" default="spi_slave1" case="upper|lower"/>
<raw>
include $(CFG_SHARED)/spi_master.makefile
</raw>
<define name="USE_$(DM_LOG_SPI_DEV_UPPER)" value="1" /> <define name="USE_$(DM_LOG_SPI_DEV_UPPER)" value="1" />
<define name="USE_$(DM_LOG_SPI_SLAVE_IDX_UPPER)" value="1" /> <define name="USE_$(DM_LOG_SPI_SLAVE_IDX_UPPER)" value="1" />
@@ -27,7 +27,9 @@
</dl_settings> </dl_settings>
</settings> </settings>
<depends>gvf_module.xml</depends> <dep>
<depends>gvf_module</depends>
</dep>
<header> <header>
<file name="dcf.h"/> <file name="dcf.h"/>
+4
View File
@@ -11,6 +11,10 @@
<configure name="FLIGHTRECORDER_SDLOG" value="TRUE|FALSE" description="Enable/disable logging on internal SD card (default=TRUE)"/> <configure name="FLIGHTRECORDER_SDLOG" value="TRUE|FALSE" description="Enable/disable logging on internal SD card (default=TRUE)"/>
<define name="FLIGHTRECORDER_DEVICE" value="dev" description="Device to be used when not internal SD card (ex: uart0)"/> <define name="FLIGHTRECORDER_DEVICE" value="dev" description="Device to be used when not internal SD card (ex: uart0)"/>
</doc> </doc>
<dep>
<depends>logger_sd_chibios,pprzlog</depends>
<provides>flight_recorder</provides>
</dep>
<header> <header>
<file name="flight_recorder.h"/> <file name="flight_recorder.h"/>
</header> </header>
+3 -1
View File
@@ -12,7 +12,9 @@
<define name="FOLLOW_OFFSET_Y" value="0" description="the y offset in ENU (meters) from the plane"/> <define name="FOLLOW_OFFSET_Y" value="0" description="the y offset in ENU (meters) from the plane"/>
<define name="FOLLOW_OFFSET_Z" value="0" description="the z offset in ENU (meters) from the plane"/> <define name="FOLLOW_OFFSET_Z" value="0" description="the z offset in ENU (meters) from the plane"/>
</doc> </doc>
<depends>traffic_info</depends> <dep>
<depends>traffic_info</depends>
</dep>
<header> <header>
<file name="follow.h"/> <file name="follow.h"/>
</header> </header>
+3 -1
View File
@@ -16,7 +16,9 @@
</dl_settings> </dl_settings>
</dl_settings> </dl_settings>
</settings> </settings>
<depends>traffic_info</depends> <dep>
<depends>traffic_info</depends>
</dep>
<header> <header>
<file name="formation.h"/> <file name="formation.h"/>
</header> </header>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="gas_engine"> <module name="gas_engine_idle" dir="gas_engine">
<doc> <doc>
<description>Gas Engine Idle</description> <description>Gas Engine Idle</description>
</doc> </doc>
+3 -1
View File
@@ -14,7 +14,9 @@ always blocking).
<define name="GPIO_EXT_PCA95XX_I2C_ADDRESSx" value="0x82" description="I2C address of GPIO expander"/> <define name="GPIO_EXT_PCA95XX_I2C_ADDRESSx" value="0x82" description="I2C address of GPIO expander"/>
<define name="GPIO_EXT_PCA95XX_BLOCKINGx" value="TRUE|FALSE" description="Whether write operations to this port should be blocking. (Note: reading is always blocking)."/> <define name="GPIO_EXT_PCA95XX_BLOCKINGx" value="TRUE|FALSE" description="Whether write operations to this port should be blocking. (Note: reading is always blocking)."/>
</doc> </doc>
<autoload name="gpio_ext_common"/> <dep>
<depends>gpio_ext_common</depends>
</dep>
<header> <header>
<file name="gpio_ext_pca95xx.h"/> <file name="gpio_ext_pca95xx.h"/>
</header> </header>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="gps_mediatek" dir="gps"> <module name="gps_mediatek_diy" dir="gps">
<doc> <doc>
<description> <description>
Mediatek MT3329 GPS (UART) Mediatek MT3329 GPS (UART)
+3 -1
View File
@@ -9,7 +9,9 @@
<configure name="GPS_UBX_I2C_DEV" value="i2cX" description="set i2c peripheral (default: i2c1)"/> <configure name="GPS_UBX_I2C_DEV" value="i2cX" description="set i2c peripheral (default: i2c1)"/>
</doc> </doc>
<depends>gps_ublox</depends> <dep>
<depends>gps_ublox</depends>
</dep>
<autoload name="gps_ublox"/> <autoload name="gps_ublox"/>
<header> <header>
<file name="gps_ubx_i2c.h"/> <file name="gps_ubx_i2c.h"/>
+3 -1
View File
@@ -33,7 +33,9 @@ Warning: you still need to tell the driver, which paparazzi port you use.
</dl_settings> </dl_settings>
</settings> </settings>
<depends>gps_ublox</depends> <dep>
<depends>gps_ublox</depends>
</dep>
<header> <header>
<file name="gps_ubx_ucenter.h"/> <file name="gps_ubx_ucenter.h"/>
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="guidance_basic" dir="guidance"> <module name="guidance_basic_fw" dir="guidance">
<doc> <doc>
<description> <description>
Legacy vertical control for fixedwing aircraft based on throttle (default) or pitch Legacy vertical control for fixedwing aircraft based on throttle (default) or pitch
+1 -1
View File
@@ -1,6 +1,6 @@
<!DOCTYPE module SYSTEM "module.dtd"> <!DOCTYPE module SYSTEM "module.dtd">
<module name="guidance_full_pid" dir="guidance"> <module name="guidance_full_pid_fw" dir="guidance">
<doc> <doc>
<description> <description>
Vertical control for fixedwing aircraft based on PID Vertical control for fixedwing aircraft based on PID

Some files were not shown because too many files have changed in this diff Show More