Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2140 → Rev 2142

/branches/dongfang_FC_fixedwing/configuration.h
65,10 → 65,6
FLIGHT_MODE_ANGLES
} FlightMode_t;
 
#define CONTROL_SERVO_REVERSE_ELEVATOR 1
#define CONTROL_SERVO_REVERSE_AILERONS 2
#define CONTROL_SERVO_REVERSE_RUDDER 4
 
typedef struct {
uint8_t SWMajor;
uint8_t SWMinor;
91,8 → 87,6
/*PMM*/uint8_t output0Timing;
/*PMM*/uint8_t output1Timing;
 
uint8_t gimbalServoManualControl[2];
 
/* P */uint8_t userParams[8];
} DynamicParams_t;
 
103,13 → 97,7
uint8_t min, max;
} MMXLATION;
 
/*
typedef struct {
uint8_t sourceIdx, targetIdx;
} XLATION;
*/
 
typedef struct {
uint8_t RCPolarity; // 1=positive, 0=negative. Use positive with Futaba receiver, negative with FrSky.
uint8_t HWTrim;
uint8_t variableOffset;
129,11 → 117,9
} sensorOffset_t;
 
typedef struct {
uint8_t manualControl;
uint8_t stabilizationFactor;
uint8_t minValue;
uint8_t maxValue;
uint8_t flags;
uint8_t reverse;
int8_t minValue;
int8_t maxValue;
} Servo_t;
 
#define SERVO_STABILIZATION_REVERSE 1
167,14 → 153,8
 
// Servos
uint8_t servoCount;
uint8_t servosReverse;
Servo_t servos[3];
 
uint8_t controlServoMinValue;
uint8_t controlServoMaxValue;
 
uint8_t gimbalServoMaxManualSpeed;
Servo_t gimbalServoConfigurations[2]; // [PITCH, ROLL]
 
// Outputs
output_flash_t outputFlash[2];
uint8_t outputDebugMask;