Subversion Repositories FlightCtrl

Rev

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

Rev 733 Rev 761
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 Hight_D;
10
        uint8_t Height_D;
11
        uint8_t MaxHight;
11
        uint8_t MaxHeight;
12
        uint8_t Hight_P;
12
        uint8_t Height_P;
13
        uint8_t Hight_ACC_Effect;
13
        uint8_t Height_ACC_Effect;
14
        uint8_t CompassYawEffect;
14
        uint8_t CompassYawEffect;
15
        uint8_t Gyro_P;
15
        uint8_t Gyro_P;
16
        uint8_t Gyro_I;
16
        uint8_t Gyro_I;
17
        uint8_t Gier_P;
17
        uint8_t Gier_P;
Line 51... Line 51...
51
extern volatile int16_t  CompassHeading;
51
extern volatile int16_t  CompassHeading;
52
extern volatile int16_t  CompassCourse;
52
extern volatile int16_t  CompassCourse;
53
extern volatile int16_t  CompassOffCourse;
53
extern volatile int16_t  CompassOffCourse;
Line 54... Line 54...
54
 
54
 
55
// hight control
55
// hight control
56
extern int ReadingHight;
56
extern int ReadingHeight;
Line 57... Line 57...
57
extern int SetPointHight;
57
extern int SetPointHeight;
58
 
58
 
Line 59... Line 59...
59
// mean accelarations
59
// mean accelarations