LibrePilot Forum

Development => GCS General => Topic started by: jellescope on April 06, 2016, 04:59:20 pm

Title: TxPID min max not the real values?
Post by: jellescope on April 06, 2016, 04:59:20 pm
I am using the TxPID module for PID tuning.

Initial tuning is difficult because I can't start at 0.002 and move to 0.008.

When I put a min value of 0.002 and a max value of 0.008 for Kp Roll in the TxPID section on bank2.

After arming the quad I can change the P value for Roll in bank 2 using the potentiometer on the transmitter from 0.005 to 0.008.

It seems that the minium value in the bank is always: (min + max)/2???

Any suggestions how to get the real min value in the bank?
Title: Re: TxPID min max not the real values?
Post by: liftbag on April 06, 2016, 06:06:52 pm
I am using the TxPID module for PID tuning.

Initial tuning is difficult because I can't start at 0.002 and move to 0.008.

When I put a min value of 0.002 and a max value of 0.008 for Kp Roll in the TxPID section on bank2.

After arming the quad I can change the P value for Roll in bank 2 using the potentiometer on the transmitter from 0.005 to 0.008.

It seems that the minium value in the bank is always: (min + max)/2???

Any suggestions how to get the real min value in the bank?
Hi.
Have you calibrate the accessory channel linked to TxPID? There are no limitations in min/max values.
Title: Re: TxPID min max not the real values?
Post by: jellescope on April 07, 2016, 10:09:21 am
Hi,

Thanks for the suggestion, I did check this to be sure. In the input section I used manual calibration to set the minium and maxium values for accessory channel 0 linked to TxPID. The min value is set at 1000 and the max value at 2001, seems to be quite normal.

Any other thoughts?

Title: Re: TxPID min max not the real values?
Post by: liftbag on April 07, 2016, 12:22:09 pm
Hi,

Thanks for the suggestion, I did check this to be sure. In the input section I used manual calibration to set the minium and maxium values for accessory channel 0 linked to TxPID. The min value is set at 1000 and the max value at 2001, seems to be quite normal.

Any other thoughts?
I never had a Rx that is 1000-2000 µS. But I'm using Spektrum...
What fw are you using?
Have you upgraded from OpenPilot?
Can you attach the uav settings (File > Export UAV Settings...)?