Update BEEBRAIN defaults
This commit is contained in:
parent
8fef60260a
commit
bc82de8e57
|
@ -60,28 +60,28 @@ void targetConfiguration(master_t *config)
|
|||
}*/
|
||||
|
||||
for (int profileId = 0; profileId < 2; profileId++) {
|
||||
config->profile[profileId].pidProfile.P8[ROLL] = 70;
|
||||
config->profile[profileId].pidProfile.P8[ROLL] = 95;
|
||||
config->profile[profileId].pidProfile.I8[ROLL] = 70;
|
||||
config->profile[profileId].pidProfile.D8[ROLL] = 30;
|
||||
config->profile[profileId].pidProfile.P8[PITCH] = 80;
|
||||
config->profile[profileId].pidProfile.I8[PITCH] = 80;
|
||||
config->profile[profileId].pidProfile.D8[PITCH] = 30;
|
||||
config->profile[profileId].pidProfile.P8[YAW] = 180;
|
||||
config->profile[profileId].pidProfile.D8[ROLL] = 17;
|
||||
config->profile[profileId].pidProfile.P8[PITCH] = 120;
|
||||
config->profile[profileId].pidProfile.I8[PITCH] = 90;
|
||||
config->profile[profileId].pidProfile.D8[PITCH] = 18;
|
||||
config->profile[profileId].pidProfile.P8[YAW] = 200;
|
||||
config->profile[profileId].pidProfile.I8[YAW] = 45;
|
||||
config->profile[profileId].pidProfile.P8[PIDLEVEL] = 50;
|
||||
config->profile[profileId].pidProfile.D8[PIDLEVEL] = 50;
|
||||
config->profile[profileId].pidProfile.P8[PIDLEVEL] = 30;
|
||||
config->profile[profileId].pidProfile.D8[PIDLEVEL] = 30;
|
||||
config->profile[profileId].pidProfile.levelSensitivity = 50.0f;
|
||||
|
||||
for (int rateProfileId = 0; rateProfileId < MAX_RATEPROFILES; rateProfileId++) {
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rcRate8 = 100;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rcYawRate8 = 110;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rcExpo8 = 20;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rates[ROLL] = 80;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rates[PITCH] = 80;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rcExpo8 = 0;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rates[ROLL] = 77;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rates[PITCH] = 77;
|
||||
config->profile[profileId].controlRateProfile[rateProfileId].rates[YAW] = 80;
|
||||
|
||||
config->profile[profileId].pidProfile.dtermSetpointWeight = 254;
|
||||
config->profile[profileId].pidProfile.setpointRelaxRatio = 100;
|
||||
config->profile[profileId].pidProfile.dtermSetpointWeight = 200;
|
||||
config->profile[profileId].pidProfile.setpointRelaxRatio = 50;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue