Skip to content

Param tooling#20385

Open
coderkalyan wants to merge 5 commits into
PX4:mainfrom
coderkalyan:param-tooling
Open

Param tooling#20385
coderkalyan wants to merge 5 commits into
PX4:mainfrom
coderkalyan:param-tooling

Conversation

@coderkalyan
Copy link
Copy Markdown
Contributor

This is the tooling part of #19489, rebased and cherry-picked so it can be reviewed and merged easily before we finish the rest of the parameter migration.

@bkueng Would appreciate a review from you, I don't have permissions to mark it on the PR itself though.
FYI @dagar

A little bit of code cleanup in preparation for using srcparser to
migrate the c parameter files to yaml definitions.

* dataclasses
* PEP 8-ish
Fixes a bug where any boolean tag that exists, whether or not the value
is actually true, is recorded as true in parameter generation.
default_port_str = port_config['default']

if default_port_str != "":
if default_port_str != "" and default_port_str != 0:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Didn't you mention that this wasn't needed anymore?

@junwoo091400
Copy link
Copy Markdown
Contributor

@coderkalyan Thanks for this contribution! Could you resolve the merge conflict & apply the requested changes?

@coderkalyan
Copy link
Copy Markdown
Contributor Author

@junwoo091400 once again I forgot about this PR :) Sure thing, I'll review the changes when I get a chance and rebase.

@github-actions github-actions Bot added the status:stale Inactive and may be closed. label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:stale Inactive and may be closed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants