21,6 → 21,7 |
VersionInfo_t versionInfo; |
|
FlightMode_t currentFlightMode = FLIGHT_MODE_MANUAL; |
// updated by considering airspeed.. |
volatile uint16_t isFlying= 0; |
|
const MMXLATION XLATIONS[] = { |
154,7 → 155,7 |
staticParams.batteryWarningVoltage = 101; // 3.7 each for 3S |
|
for (uint8_t i=0; i<3; i++) { |
staticParams.gyroPID[i].P = 200; |
staticParams.gyroPID[i].P = 80; |
staticParams.gyroPID[i].I = 40; |
staticParams.gyroPID[i].D = 40; |
staticParams.gyroPID[i].iMax = 45; |
207,10 → 208,7 |
/* Default Values for R/C Channels */ |
/***************************************************/ |
void channelMap_default(void) { |
channelMap.RCPolarity = 1; |
channelMap.HWTrim = 192; |
channelMap.variableOffset = 128; |
channelMap.channels[CH_ELEVATOR] = 1; |
channelMap.channels[CH_ELEVATOR] = 1; |
channelMap.channels[CH_AILERONS] = 0; |
channelMap.channels[CH_THROTTLE] = 2; |
channelMap.channels[CH_RUDDER] = 3; |