Skip to content

Commit

Permalink
Defaults from David W
Browse files Browse the repository at this point in the history
I believe these are for the Mini tri EMAX setup.

I have not tested these, I run much higher yaw gains myself.
  • Loading branch information
lkaino committed May 17, 2016
1 parent efec142 commit 18395fe
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/main/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ void resetPidProfile(pidProfile_t *pidProfile)
{
pidProfile->pidController = 1;

pidProfile->P8[ROLL] = 49;
pidProfile->I8[ROLL] = 30;
pidProfile->D8[ROLL] = 48;
pidProfile->P8[PITCH] = 43;
pidProfile->I8[PITCH] = 30;
pidProfile->D8[PITCH] = 26;
pidProfile->P8[YAW] = 85;
pidProfile->I8[YAW] = 17;
pidProfile->D8[YAW] = 40;
pidProfile->P8[ROLL] = 40;
pidProfile->I8[ROLL] = 24;
pidProfile->D8[ROLL] = 30;
pidProfile->P8[PITCH] = 38;
pidProfile->I8[PITCH] = 23;
pidProfile->D8[PITCH] = 20;
pidProfile->P8[YAW] = 70;
pidProfile->I8[YAW] = 10;
pidProfile->D8[YAW] = 35;
pidProfile->P8[PIDALT] = 50;
pidProfile->I8[PIDALT] = 0;
pidProfile->D8[PIDALT] = 0;
Expand Down Expand Up @@ -302,7 +302,7 @@ static void resetControlRateConfig(controlRateConfig_t *controlRateConfig) {
controlRateConfig->dynThrPID = 0;
controlRateConfig->rcYawExpo8 = 83;
controlRateConfig->tpa_breakpoint = 1500;
controlRateConfig->tri_dynamic_yaw_minthrottle = 300; // 3x YAW gain at min throttle
controlRateConfig->tri_dynamic_yaw_minthrottle = 290; // 2.9x YAW gain at min throttle
controlRateConfig->tri_dynamic_yaw_maxthrottle = 100; // no reduction by default

controlRateConfig->rates[FD_PITCH] = 55;
Expand All @@ -312,7 +312,7 @@ static void resetControlRateConfig(controlRateConfig_t *controlRateConfig) {

void resetRcControlsConfig(rcControlsConfig_t *rcControlsConfig) {
rcControlsConfig->deadband = 5;
rcControlsConfig->yaw_deadband = 5;
rcControlsConfig->yaw_deadband = 9;
rcControlsConfig->alt_hold_deadband = 40;
rcControlsConfig->alt_hold_fast_change = 1;
}
Expand All @@ -337,7 +337,7 @@ static void resetMixerConfig(mixerConfig_t *mixerConfig) {
mixerConfig->tri_servo_feedback = TRI_SERVO_FB_VIRTUAL;
#endif //RCE
mixerConfig->tri_motor_acc_yaw_correction = 6;
mixerConfig->tri_motor_acceleration = 0.20f;
mixerConfig->tri_motor_acceleration = 0.18f;
#endif //USE_SERVOS
}

Expand Down

2 comments on commit 18395fe

@Bengt-M
Copy link

Choose a reason for hiding this comment

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

So this is the recommendation for Davids new electronic kit?
I don't know about Davids sales records but I guess there is a lot of people, like me, who are still using the first kit. Would it be right to assume that the Beta2 settings are recommended for us?

Also, there are several questions on the forum about starter settings for the big tri. A recommendation for those people would be nice too.

With so many different possible configurations it may be too difficult to cover all, but starter recommendations for stock standard kit would help many people.

Given the info I can assist in writing a doc and link from the check-list. If you want.

@lkaino
Copy link
Owner Author

@lkaino lkaino commented on 18395fe May 18, 2016

Choose a reason for hiding this comment

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

I don't have a setup with the new electronics kit either so I have not tested these. David used a lot more time than me to do the tuning so I figured these are good defaults.

I have my own tune for the first kit that I use. That could be used as recommendation. The Beta 2 yaw gains can't be directly transfered to Beta 3. I should mention that in the release notes.

My big tri is not in flyable condition currently so I can't do a tune. Also I don't have time for that :(.

It's a good idea to list different starter recommendations, if we just had those. Could ask David for the PIDs he's using on v3.5.

Please sign in to comment.