-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
uXRCE-DDS Client: Expose custom participant and localhost-only flags #22107
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having these as both command line arguments and parameters seems like more trouble than it's worth, but otherwise looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point you could remove the CLI flags and make the param tri-state.
Can you also set it as default for v5x and v6x skynode?
In this file: https://github.com/PX4/PX4-Autopilot/blob/main/boards/px4/fmu-v5x/init/rc.board_defaults
Skynode detection: https://github.com/PX4/PX4-Autopilot/blob/main/boards/px4/fmu-v5x/init/rc.board_sensors#L52
On the other hand, as the CLI is already there, what about using the same approach of the mavlink module? PX4-Autopilot/src/modules/mavlink/module.yaml Lines 5 to 35 in be56f74
I mean, tri state param, and the CLI flags are set in the command part of @bkueng , do you want v5x and v6x skynode to use |
@beniaminopozzan Keeping the CLI and using it in the For the defaults, I think we'd keep it that neither |
* Align status values. * Add indicators for the custom participant and localhost-only flags.
f5537b5
to
3e08d95
Compare
On further thought, having both the CLI flags and a parameter for these configurations seems somewhat unnecessary. So: I have now removed the CLI flags and only have the single tri-state "participant configuration" parameter, |
Replaces the localhost-only and custom participant CLI flags
3e08d95
to
1a937bf
Compare
Looks good, can you still add the skynode defaults? |
Solved Problem
The
uxrce_dds_client
can be started with flags to enable using a custom participant (-c
) or localhost-only on the agent side (-l
), but these were only available when starting the client by hand in the console.Solution
Remove the CLI flags and instead a parameter for selecting the participant configuration,
UXRCE_DDS_PTCFG
.This allows for selecting either the custom participant or localhost-only configuration, or neither (the default).
To Do
Additionally
uxrce_dds_client
.uxrce_dds_client status
. For example:Changelog Entry
For release notes:
Test coverage