Home        Store        Docs        Blog

Pymavlink and setting pid tuning parameters


(Tim) #1

Hi, is there a way to adjust PID parameters corresponding to ATC_RAT_PIT_P, ATC_RAT_PIT_I, etc. for the rate controller in Acro mode using pymavlink calls in a script? If so, what are the commands? Thanks in advance, Tim


(Jacob) #2

http://mavlink.org/messages/common#PARAM_SET

Ignore the notes about temporary storage, this is the only one you need.


(Tim) #3

Jacob thanks for the response. I presume one uses the param_set_send method but I’m not sure how the command works. Would you mind providing the pymavlink command syntax to set ATC_RAT_RLL_P equal to .2, for example?

Thanks!


(Patrick José Pereira) #4

Hi Tim,

We have a good number of pymavlink examples, they show how to use mavlink messages with pymavlink explicitly, also check the code comments for further information.


#5

Absolutely brilliant beginners guide to Pymavlink.I could successfully get a lot of desired values from your guide.Thanks a lot.