Skip to content

Conversation

@beniaminopozzan
Copy link
Member

The current poxix param override logic through env var is excecuter before the vehicle airframe is selected, therefore if the airframe defines custom parameter values, then the overrides will be ignored.

For example one cannot override NAV_DLL_ACT when running gz_x500 sim as that parameter is set in

This PR moves the override logic after the airframe selection so that you can override any parameter.

Copy link
Contributor

@farhangnaderi farhangnaderi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok to me! @MaEtUgR might have an input though!

@Pedro-Roque
Copy link
Member

If I understand correctly, the idea is to keep the override even if airframe has been changed, correct?

Copy link
Contributor

@dakejahl dakejahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't even know this was a thing

@beniaminopozzan
Copy link
Member Author

If I understand correctly, the idea is to keep the override even if airframe has been changed, correct?

@Pedro-Roque the idea is to let parameter override have higher priority than any other parameter change source in the posix startup sequence.

So yes, it will keep the override even if airframe has been changed but that is just a side effect.

@beniaminopozzan beniaminopozzan merged commit ec8f343 into main Jan 9, 2026
72 of 73 checks passed
@beniaminopozzan beniaminopozzan deleted the pr-move-param-override-logic branch January 9, 2026 11:15
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.

5 participants