MAVSDK-Proto icon indicating copy to clipboard operation
MAVSDK-Proto copied to clipboard

param_server: allow to change parameter internally

Open dayjaby opened this issue 1 year ago • 3 comments

Allow a param_server to change a parameter that it is providing.

dayjaby avatar Jun 11 '23 21:06 dayjaby

I think this makes sense. The tricky thing is that you're supposed to "provide" all params on init, before any mavlink traffic happens, and the number of params can't change later.

julianoes avatar Jun 12 '23 05:06 julianoes

The tricky thing is that you're supposed to "provide" all params on init, before any mavlink traffic happens

Oh so that can't work with the language bindings, right?

JonasVautherin avatar Jun 12 '23 12:06 JonasVautherin

Language bindings should be fine. So a python mavsdk app for example can represent an entire mavlink component, using the param_server plugin to provide all the parameters. If something happens within the component, the same plugin should be able to be used to "change" one of these parameters.

dayjaby avatar Jun 12 '23 17:06 dayjaby