mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
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:
1 parent
ecda339a7b
commit
af36aca5ab
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user