42,7 → 42,7 |
/*PMM*/uint8_t gyroP; |
/* P */uint8_t gyroI; |
/* P */uint8_t gyroD; |
/* P */uint8_t compassFixedHeading; |
/* P */uint8_t compassControlHeading; |
|
// Control |
/* P */uint8_t externalControl; |
162,8 → 162,10 |
uint8_t IFactor; |
uint8_t yawIFactor; |
|
uint8_t compassMode; // bitflag thing. |
uint8_t compassYawCorrection; |
uint8_t compassFixedHeading; |
uint8_t compassBendingReturnSpeed; |
uint8_t compassP; |
|
uint8_t batteryVoltageWarning; |
uint8_t emergencyThrottle; |
223,9 → 225,9 |
#define CFG_SIMPLE_HEIGHT_CONTROL (1<<0) |
#define CFG_SIMPLE_HC_HOLD_SWITCH (1<<1) |
#define CFG_HEADING_HOLD (1<<2) |
#define CFG_COMPASS_ACTIVE (1<<3) |
#define CFG_UNUSED (1<<4) |
#define CFG_GPS_ACTIVE (1<<5) |
#define CFG_COMPASS_ENABLED (1<<3) |
#define CFG_UNUSED (1<<4) |
#define CFG_GPS_ENABLED (1<<5) |
#define CFG_AXIS_COUPLING_ACTIVE (1<<6) |
#define CFG_GYRO_SATURATION_PREVENTION (1<<7) |
|