fix(metadata): document the parameters that moved to yaml files (#29389)

#26833 moved the spacecraft and systemcmds/tests parameters from
params.c to yaml files, which metadata_parameters does not read: the
yaml glob has no src/systemcmds, and the spacecraft filter drops
everything under spacecraft/. The filter was for the module.yaml that
#24734 removed, so it only hides parameters now.

Assisted-by: Claude:claude-opus-5-5

Signed-off-by: A.Burak Tektas <15087318+Abtektas@users.noreply.github.com>
This commit is contained in:
Ahmet Burak Tektas authored and GitHub committed 2026-10-30 15:58:11 -06:00
1 parent ecda339a7b
commit af36aca5ab
1 file changed
+2 -2
+2 -2
View File
@@ -48,12 +48,12 @@ add_custom_target(metadata_airframes
set(generated_params_dir ${PX4_BINARY_DIR}/generated_params_metadata)
file(GLOB_RECURSE yaml_config_files ${PX4_SOURCE_DIR}/src/modules/*.yaml
${PX4_SOURCE_DIR}/src/drivers/*.yaml ${PX4_SOURCE_DIR}/src/lib/*.yaml)
${PX4_SOURCE_DIR}/src/drivers/*.yaml ${PX4_SOURCE_DIR}/src/lib/*.yaml
${PX4_SOURCE_DIR}/src/systemcmds/*.yaml)
# avoid param duplicates
list(FILTER yaml_config_files EXCLUDE REGEX ".*/pwm_out_sim/")
list(FILTER yaml_config_files EXCLUDE REGEX ".*/linux_pwm_out/")
list(FILTER yaml_config_files EXCLUDE REGEX ".*/spacecraft/")
add_custom_target(metadata_parameters
COMMAND ${CMAKE_COMMAND} -E make_directory ${PX4_BINARY_DIR}/docs