Changing px4 parameters while flying via offboard/mavros access

Hey everyone,

I would like to know whether it is possible to change some of the px4-parameters via mavros access.
Stuff like this is possible during QGC and I guess there should be a mavros/mavlink command or something like that to also acocmplish this.

As an example - I would like to adjust the MPC_THR_HOVER parameter while flying because I realized how bad the flight performance becomes when the battery charge is going low. So I had some test with different Hover-Flights for different battery charges and I would like to change my hover thrust parameter to see whether I can improve my flight performance…

Did anyone tried this before? Any help would be appreciated…

Also I remember reading of px4’s thrust adjustments depending on the battery charge - but couldn’t find it again - does somebody may link it to me…

Kind regards