Subversion Repositories FlightCtrl

Rev

Rev 707 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 707 Rev 711
Line 5... Line 5...
5
#ifndef _FC_H
5
#ifndef _FC_H
6
#define _FC_H
6
#define _FC_H
Line 7... Line 7...
7
 
7
 
8
typedef struct
8
typedef struct
9
{
9
{
10
        uint8_t AirPressure_D;
10
        uint8_t Hight_D;
11
        uint8_t MaxHight;
11
        uint8_t MaxHight;
12
        uint8_t Hight_P;
12
        uint8_t Hight_P;
13
        uint8_t Hight_ACC_Effect;
13
        uint8_t Hight_ACC_Effect;
14
        uint8_t CompassYawEffect;
14
        uint8_t CompassYawEffect;
Line 35... Line 35...
35
 
35
 
Line 36... Line 36...
36
extern volatile uint16_t I2CTimeout;
36
extern volatile uint16_t I2CTimeout;
37
 
37
 
38
// attitude
38
// attitude
Line 39... Line 39...
39
extern volatile int32_t IntegralPitch, IntegralRoll, IntegralYaw;
39
extern volatile int32_t IntegralPitch, IntegralRoll, IntegralYaw;
40
extern volatile int16_t ReadingPitch, ReadingRoll, ReadingYaw;
40
extern volatile int16_t Reading_GyroPitch, Reading_GyroRoll, Reading_GyroYaw;
41
 
41
 
42
// offsets
42
// offsets