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

param plugin : add msg and publisher to catch latest param value #1148

Merged
merged 1 commit into from
Jan 3, 2019

Conversation

Kiwa21
Copy link
Contributor

@Kiwa21 Kiwa21 commented Jan 1, 2019

As requested by the goodrobots projects by @fnoop : https://github.com/goodrobots

I'm open to all suggestions.
Thanks,

@TSC21
Copy link
Member

TSC21 commented Jan 1, 2019

@Kiwa21 can you please explain the rationale behind adding this?

@Kiwa21
Copy link
Contributor Author

Kiwa21 commented Jan 1, 2019

Goodrobots is developing a web GCS / web API.
They had the need to catch if a single parameter was changed by any other third means to be bale to update their own parameter table.
Maybe @fnoop can detail a bit more

@@ -0,0 +1,7 @@
# Parameter msg.

string param_id
Copy link
Member

Choose a reason for hiding this comment

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

Here maybe better to add Header.
Just to carry receive stamp.

param_msg.param_type = pmsg.param_type;
param_msg.param_count = pmsg.param_count;
param_msg.param_index = pmsg.param_index;
param_value_pub.publish(param_msg)
Copy link
Member

Choose a reason for hiding this comment

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

Where is filling of value? Indentation error.

@vooon vooon added this to the Version 0.28 milestone Jan 3, 2019
@vooon vooon merged commit bdc169a into mavlink:master Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants