Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow MAVLink System ID to be specified via CLI argument #341

Conversation

joaoantoniocardoso
Copy link
Collaborator

@joaoantoniocardoso joaoantoniocardoso commented Feb 7, 2024

Closes #327

Comment on lines +78 to +79
#[arg(long, value_name = "SYSTEM_ID", default_value = "1")]
mavlink_system_id: u8,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@patrickelectric is all u8 range valid, or should we do some validation?

Copy link
Member

Choose a reason for hiding this comment

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

I see no reason to not use the full range.

@patrickelectric patrickelectric merged commit 41245f2 into mavlink:master Feb 7, 2024
4 checks passed
@joaoantoniocardoso joaoantoniocardoso deleted the add_mavlink_system_id_cli_argument branch February 7, 2024 11:53
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.

Allow configuring system id
2 participants