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

Parameter Server #1473

Merged
merged 6 commits into from
Jul 14, 2021
Merged

Parameter Server #1473

merged 6 commits into from
Jul 14, 2021

Conversation

bazfp
Copy link
Collaborator

@bazfp bazfp commented Jul 2, 2021

Added support for MAVSDK to act as a parameter server (autopilot) using param_server plugin.

  • Listens to PARAM_REQUEST_VALUE PARAM_EXT_REQUEST_VALUE PARAM_REQUEST_LIST PARAM_EXT_REQUEST_VALUE
  • Responds with appropriate PARAM_VALUE ext or otherwise
  • Plugin requires a system before setting values - Not a huge fan but should be ok.

I've tested this by getting two mavsdk objects to communicate to one another with AUTOPILOT configuration, they don't register each other correctly as they are missing MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES and MAV_CMD_SET_MESSAGE_INTERVAL responses at current. Expect some more changes from me regarding this :)

Proto here: mavlink/MAVSDK-Proto#238

src/core/mavlink_parameters.cpp Show resolved Hide resolved
src/core/mavlink_parameters.cpp Outdated Show resolved Hide resolved
src/core/mavlink_parameters.h Show resolved Hide resolved
src/core/mavlink_parameters.h Show resolved Hide resolved
julianoes
julianoes previously approved these changes Jul 14, 2021
Copy link
Collaborator

@julianoes julianoes left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the edits.

@julianoes julianoes merged commit 0442d94 into mavlink:main Jul 14, 2021
@julianoes
Copy link
Collaborator

Thanks a lot @bazfp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants