Skip to content

Comments

actuators: move center after standard_params_array#26517

Open
ttechnick wants to merge 2 commits intoPX4:mainfrom
ttechnick:pr-fix_servo_center_metadata
Open

actuators: move center after standard_params_array#26517
ttechnick wants to merge 2 commits intoPX4:mainfrom
ttechnick:pr-fix_servo_center_metadata

Conversation

@ttechnick
Copy link
Contributor

Remove center from actuator metadata standard_params_array so generate_actuators_metadata.py no longer emits "function": "center" in actuators.json. This value isn't in the MAVLink
actuators.schema.json allowlist, making the metadata invalid and causing QGC to warn on parse.

Center is instead exposed just after the standard_params_array, without any function field.

This PR fixes the same issue adressed in #26503, but is much simpler.

@ttechnick ttechnick requested a review from dakejahl February 18, 2026 16:17
@ttechnick ttechnick changed the title actuators: move away from standard_params_array actuators: move center away from standard_params_array Feb 18, 2026
@ttechnick ttechnick changed the title actuators: move center away from standard_params_array actuators: move center after standard_params_array Feb 18, 2026
@dakejahl
Copy link
Contributor

This only works because you didn't remove theses changes:
Tools/module_config/generate_params.py
validation/module_schema.yaml

brought in from the original PR
#25897

@ttechnick
Copy link
Contributor Author

I`ll have a look again when Im back in 10 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants