-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Arm authorization #2267
Arm authorization #2267
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.
Thanks a lot for the contribution! This looks very clean and well done!
One thing I don't fully understand is the system_id
passed to the subscription.
I assume the arm_authorizer_server
is meant to filter for the correct system ID that it is responsible for?
Thanks for the comment! Regarding the |
I think you're right in terms of system id. A component server doesn't have a notion of "connected system" like a normal system plugin does, by design, so it could potentially decide for any system, and this should indeed work as you describe. |
Fixed spelling for arm_authorizer_server Changed component type in arm_authorizer_server example Changes to comply with updates in proto repository Deleted forgotten file proto: update submodule now that PR is merged Signed-off-by: Julian Oes <[email protected]> update submodule again Signed-off-by: Julian Oes <[email protected]>
37892ce
to
c80b212
Compare
@JonasVautherin I'm puzzled why this is still broken. |
Oh, I think the subscribe response is wrong? See e.g. here:
vs
I guess it should be
i.e. |
Ah thanks. I'll check that. However, why does it not show up when I build it locally? Oh, it does, after a clean build. |
26eddfa
to
6592706
Compare
Signed-off-by: Julian Oes <[email protected]>
6592706
to
86ea261
Compare
Please retry analysis of this Pull-Request directly on SonarCloud |
* Added arm authorization server functionality
This PR adds the implementation of arm authorization server functionality, and is an extension of this PR in MAVSDK-Proto. It implements a server that allows user to register a custom callback on arm authorization request.
It also adds an example of plugins usage, which was tested with a PX4 autopilot and it's implementation of arm authorization functionality