Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 700 → Rev 701

/branches/V0.68d Code Redesign killagreg/eeprom.h
7,7 → 7,7
#define PID_VERSION 1 // byte
#define PID_ACTIVE_SET 2 // byte
#define PID_LAST_OFFSET 3 // byte
#define PID_ACC_NICK 4 // word
#define PID_ACC_PITCH 4 // word
#define PID_ACC_ROLL 6 // word
#define PID_ACC_Z 8 // word
 
38,10 → 38,10
#define CFG_LOOP_RIGHT 0x08
 
// defines for lookup mk_param_struct.ChannelAssignment
#define CH_NICK 0
#define CH_PITCH 0
#define CH_ROLL 1
#define CH_GAS 2
#define CH_GIER 3
#define CH_YAW 3
#define CH_POTI1 4
#define CH_POTI2 5
#define CH_POTI3 6
53,19 → 53,19
{
uint8_t ChannelAssignment[8]; // see upper defines for details
uint8_t GlobalConfig; // see upper defines for bitcoding
uint8_t Hoehe_MinGas; // Wert : 0-100
uint8_t Luftdruck_D; // Wert : 0-250
uint8_t MaxHoehe; // Wert : 0-32
uint8_t Hoehe_P; // Wert : 0-32
uint8_t Hoehe_Verstaerkung; // Wert : 0-50
uint8_t Hoehe_ACC_Wirkung; // Wert : 0-250
uint8_t Hight_MinGas; // Wert : 0-100
uint8_t AirPressure_D; // Wert : 0-250
uint8_t MaxHight; // Wert : 0-32
uint8_t Hight_P; // Wert : 0-32
uint8_t Hight_Gain; // Wert : 0-50
uint8_t Hight_ACC_Effect; // Wert : 0-250
uint8_t Stick_P; // Wert : 1-6
uint8_t Stick_D; // Wert : 0-64
uint8_t Gier_P; // Wert : 1-20
uint8_t Yaw_P; // Wert : 1-20
uint8_t Gas_Min; // Wert : 0-32
uint8_t Gas_Max; // Wert : 33-250
uint8_t GyroAccFaktor; // Wert : 1-64
uint8_t KompassWirkung; // Wert : 0-32
uint8_t CompassYawEffect; // Wert : 0-32
uint8_t Gyro_P; // Wert : 10-250
uint8_t Gyro_I; // Wert : 0-250
uint8_t LowVoltageWarning; // Wert : 0-250
77,19 → 77,19
uint8_t UserParam2; // Wert : 0-250
uint8_t UserParam3; // Wert : 0-250
uint8_t UserParam4; // Wert : 0-250
uint8_t ServoNickControl; // Wert : 0-250 // Stellung des Servos
uint8_t ServoNickComp; // Wert : 0-250 // Einfluss Gyro/Servo
uint8_t ServoNickMin; // Wert : 0-250 // Anschlag
uint8_t ServoNickMax; // Wert : 0-250 // Anschlag
uint8_t ServoNickRefresh; //
uint8_t ServoPitchControl; // Wert : 0-250 // Stellung des Servos
uint8_t ServoPitchComp; // Wert : 0-250 // Einfluss Gyro/Servo
uint8_t ServoPitchMin; // Wert : 0-250 // Anschlag
uint8_t ServoPitchMax; // Wert : 0-250 // Anschlag
uint8_t ServoPitchRefresh; //
uint8_t LoopGasLimit; // Wert: 0-250 max. Gas während Looping
uint8_t LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
uint8_t LoopHysteresis; // Wert: 0-250 Hysterese für Stickausschlag
uint8_t AchsKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick koppelt (NickRollMitkopplung)
uint8_t AchsGegenKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick Gegenkoppelt (NickRollGegenkopplung)
uint8_t WinkelUmschlagNick; // Wert: 0-250 180°-Punkt
uint8_t WinkelUmschlagRoll; // Wert: 0-250 180°-Punkt
uint8_t GyroAccAbgleich; // 1/k (Koppel_ACC_Wirkung)
uint8_t AchsKopplung1; // Wert: 0-250 Faktor, mit dem Yaw die Achsen Roll und Pitch koppelt (PitchRollMitkopplung)
uint8_t AchsGegenKopplung1; // Wert: 0-250 Faktor, mit dem Yaw die Achsen Roll und Pitch Gegenkoppelt (PitchRollGegenkopplung)
uint8_t AngleTurnOverPitch; // Wert: 0-250 180°-Punkt
uint8_t AngleTurnOverRoll; // Wert: 0-250 180°-Punkt
uint8_t GyroAccTrim; // 1/k (Koppel_ACC_Wirkung)
uint8_t DriftComp;
uint8_t DynamicStability;
uint8_t UserParam5; // Wert : 0-250
97,7 → 97,7
uint8_t UserParam7; // Wert : 0-250
uint8_t UserParam8; // Wert : 0-250
uint8_t LoopConfig; // see upper defines for bitcoding
uint8_t ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
uint8_t ServoPitchCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
uint8_t Reserved[4];
int8_t Name[12];
} paramset_t;