Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2121 → Rev 2122

/branches/dongfang_FC_fixedwing/configuration.c
10,6 → 10,7
int16_t variables[VARIABLE_COUNT];
ParamSet_t staticParams;
ChannelMap_t channelMap;
RCTrim_t rcTrim;
IMUConfig_t IMUConfig;
volatile DynamicParams_t dynamicParams;
 
153,7 → 154,7
staticParams.batteryWarningVoltage = 101; // 3.7 each for 3S
 
for (uint8_t i=0; i<3; i++) {
staticParams.gyroPID[i].P = 80;
staticParams.gyroPID[i].P = 200;
staticParams.gyroPID[i].I = 80;
staticParams.gyroPID[i].D = 40;
staticParams.gyroPID[i].iMax = 30;
204,7 → 205,7
/***************************************************/
void channelMap_default(void) {
channelMap.RCPolarity = 1;
channelMap.trim = 192;
channelMap.HWTrim = 192;
channelMap.variableOffset = 128;
channelMap.channels[CH_ELEVATOR] = 1;
channelMap.channels[CH_AILERONS] = 0;