Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1077 → Rev 1078

/branches/V0.71h Code Redesign killagreg/fc.h
7,7 → 7,9
 
#include <inttypes.h>
 
#define YAW_GYRO_DEG_FACTOR 1550L // Factor between Yaw Gyro Integral and HeadingAngle in deg
//#define YAW_GYRO_DEG_FACTOR 1450L // Factor between Yaw Gyro Integral and HeadingAngle in deg
//#define YAW_GYRO_DEG_FACTOR 1550L // Factor between Yaw Gyro Integral and HeadingAngle in deg
#define YAW_GYRO_DEG_FACTOR 1291L // Factor between Yaw Gyro Integral and HeadingAngle in deg
#define STICK_GAIN 4
 
typedef struct
37,6 → 39,7
uint8_t ExternalControl;
uint8_t J16Timing;
uint8_t J17Timing;
#if (defined (USE_KILLAGREG) || defined (USE_MK3MAG))
uint8_t NaviGpsModeControl;
uint8_t NaviGpsGain;
uint8_t NaviGpsP;
43,7 → 46,10
uint8_t NaviGpsI;
uint8_t NaviGpsD;
uint8_t NaviGpsACC;
 
uint8_t NaviOperationgRadius;
uint8_t NaviWindCorrection;
uint8_t NaviSpeedCompensation;
#endif
} fc_param_t;
 
extern fc_param_t FCParam;