Subversion Repositories FlightCtrl

Rev

Rev 886 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 886 Rev 911
Line 27... Line 27...
27
        uint8_t UserParam4;
27
        uint8_t UserParam4;
28
        uint8_t UserParam5;
28
        uint8_t UserParam5;
29
        uint8_t UserParam6;
29
        uint8_t UserParam6;
30
        uint8_t UserParam7;
30
        uint8_t UserParam7;
31
        uint8_t UserParam8;
31
        uint8_t UserParam8;
32
        uint8_t ServoPitchControl;
32
        uint8_t ServoNickControl;
33
        uint8_t LoopThrustLimit;
33
        uint8_t LoopGasLimit;
34
        uint8_t Yaw_PosFeedback;
34
        uint8_t Yaw_PosFeedback;
35
        uint8_t Yaw_NegFeedback;
35
        uint8_t Yaw_NegFeedback;
36
        uint8_t DynamicStability;
36
        uint8_t DynamicStability;
37
} fc_param_t;
37
} fc_param_t;
Line 38... Line 38...
38
 
38
 
Line 39... Line 39...
39
extern fc_param_t FCParam;
39
extern fc_param_t FCParam;
Line 40... Line 40...
40
 
40
 
41
extern volatile uint16_t I2CTimeout;
41
extern volatile uint16_t I2CTimeout;
42
 
42
 
Line 43... Line 43...
43
// attitude
43
// attitude
44
extern volatile int32_t IntegralPitch, IntegralRoll, IntegralYaw;
44
extern volatile int32_t IntegralNick, IntegralRoll, IntegralYaw;
45
extern volatile int16_t Reading_GyroPitch, Reading_GyroRoll, Reading_GyroYaw;
45
extern volatile int16_t Reading_GyroNick, Reading_GyroRoll, Reading_GyroYaw;
46
 
46
 
Line 47... Line 47...
47
// offsets
47
// offsets
Line 63... Line 63...
63
// hight control
63
// hight control
64
extern int ReadingHeight;
64
extern int ReadingHeight;
65
extern int SetPointHeight;
65
extern int SetPointHeight;
Line 66... Line 66...
66
 
66
 
67
// mean accelerations
67
// mean accelerations
Line 68... Line 68...
68
extern volatile int16_t Mean_AccPitch, Mean_AccRoll, Mean_AccTop;
68
extern volatile int16_t Mean_AccNick, Mean_AccRoll, Mean_AccTop;
69
 
69
 
Line 70... Line 70...
70
// acceleration send to navi board
70
// acceleration send to navi board
71
extern int16_t NaviAccPitch, NaviAccRoll, NaviCntAcc;
71
extern int16_t NaviAccNick, NaviAccRoll, NaviCntAcc;
Line 72... Line 72...
72
 
72
 
73
 
73
 
Line 74... Line 74...
74
// looping params
74
// looping params
75
extern long TurnOver180Pitch, TurnOver180Roll;
75
extern long TurnOver180Nick, TurnOver180Roll;
76
 
76
 
Line 90... Line 90...
90
 
90
 
91
// setpoints for motors
91
// setpoints for motors
Line 92... Line 92...
92
extern volatile uint8_t Motor_Front, Motor_Rear, Motor_Right, Motor_Left; //used by twimaster isr
92
extern volatile uint8_t Motor_Front, Motor_Rear, Motor_Right, Motor_Left; //used by twimaster isr
93
 
93
 
94
// current stick values
94
// current stick values
95
extern int16_t StickPitch;
95
extern int16_t StickNick;
96
extern int16_t StickRoll;
96
extern int16_t StickRoll;
97
extern int16_t StickYaw;
97
extern int16_t StickYaw;
Line 98... Line 98...
98
extern int16_t GPS_Pitch;
98
extern int16_t GPS_Nick;
99
extern int16_t GPS_Roll;
99
extern int16_t GPS_Roll;
100
 
100
 
101
// current stick elongations
101
// current stick elongations
102
extern int16_t MaxStickPitch, MaxStickRoll, MaxStickYaw;
102
extern int16_t MaxStickNick, MaxStickRoll, MaxStickYaw;