Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2047 → Rev 2051

/branches/dongfang_FC_rewrite/configuration.h
42,7 → 42,7
/*PMM*/uint8_t gyroP;
/* P */uint8_t gyroI;
/* P */uint8_t gyroD;
/* P */uint8_t compassYawEffect;
/* P */uint8_t compassFixedHeading;
 
// Control
/* P */uint8_t externalControl;
134,9 → 134,9
uint8_t driftCompDivider; // 1/k (Koppel_ACC_Wirkung)
uint8_t driftCompLimit; // limit for gyrodrift compensation
 
uint8_t axisCoupling1; // Value: 0-250 Faktor, mit dem Yaw die Achsen Roll und Nick koppelt (NickRollMitkopplung)
uint8_t axisCoupling2; // Value: 0-250 Faktor, mit dem Nick und Roll verkoppelt werden
uint8_t axisCouplingYawCorrection;// Value: 0-250 Faktor, mit dem Nick und Roll verkoppelt werden
// uint8_t axisCoupling1; // Value: 0-250 Faktor, mit dem Yaw die Achsen Roll und Nick koppelt (NickRollMitkopplung)
// uint8_t axisCoupling2; // Value: 0-250 Faktor, mit dem Nick und Roll verkoppelt werden
// uint8_t axisCouplingYawCorrection;// Value: 0-250 Faktor, mit dem Nick und Roll verkoppelt werden
 
uint8_t levelCorrection[2];
 
146,18 → 146,25
uint8_t gyroD;
 
uint8_t attitudeControl;
 
uint8_t stickP;
uint8_t stickD;
uint8_t stickYawP;
uint8_t stickThrottleD;
 
uint8_t minThrottle;
uint8_t maxThrottle;
 
uint8_t externalControl; // for serial Control
uint8_t motorSmoothing;
uint8_t dynamicStability; // PID limit for Attitude controller
 
uint8_t IFactor;
uint8_t yawIFactor;
uint8_t compassYawEffect;
 
uint8_t compassYawCorrection;
uint8_t compassFixedHeading;
 
uint8_t batteryVoltageWarning;
uint8_t emergencyThrottle;
uint8_t emergencyFlightDuration;
217,7 → 224,7
#define CFG_SIMPLE_HC_HOLD_SWITCH (1<<1)
#define CFG_HEADING_HOLD (1<<2)
#define CFG_COMPASS_ACTIVE (1<<3)
#define CFG_COMPASS_FIX (1<<4)
#define CFG_UNUSED (1<<4)
#define CFG_GPS_ACTIVE (1<<5)
#define CFG_AXIS_COUPLING_ACTIVE (1<<6)
#define CFG_GYRO_SATURATION_PREVENTION (1<<7)