Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2138 → Rev 2139

/branches/dongfang_FC_fixedwing/arduino_atmega328/configuration.h
66,10 → 66,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;
92,8 → 88,6
/*PMM*/uint8_t output0Timing;
/*PMM*/uint8_t output1Timing;
 
uint8_t gimbalServoManualControl[2];
 
/* P */uint8_t userParams[8];
} DynamicParams_t;
 
104,13 → 98,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;
130,11 → 118,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
168,14 → 154,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;