Subversion Repositories FlightCtrl

Rev

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

Rev 2113 Rev 2117
Line 82... Line 82...
82
  uint8_t sourceIdx, targetIdx;
82
  uint8_t sourceIdx, targetIdx;
83
} XLATION;
83
} XLATION;
84
*/
84
*/
Line 85... Line 85...
85
 
85
 
-
 
86
typedef struct {
-
 
87
        uint8_t trim;
86
typedef struct {
88
        uint8_t variableOffset;
87
  uint8_t channels[MAX_CHANNELS];
89
  uint8_t channels[MAX_CHANNELS];
88
} channelMap_t;
90
} ChannelMap_t;
Line 89... Line 91...
89
extern channelMap_t channelMap;
91
extern ChannelMap_t channelMap;
90
 
92
 
91
typedef struct {
93
typedef struct {
92
  char name[12];
94
  char name[12];
Line 102... Line 104...
102
  uint8_t manualControl;
104
  uint8_t manualControl;
103
  uint8_t stabilizationFactor;
105
  uint8_t stabilizationFactor;
104
  uint8_t minValue;
106
  uint8_t minValue;
105
  uint8_t maxValue;
107
  uint8_t maxValue;
106
  uint8_t flags;
108
  uint8_t flags;
107
} servo_t;
109
} Servo_t;
Line 108... Line 110...
108
 
110
 
Line 109... Line 111...
109
#define SERVO_STABILIZATION_REVERSE 1
111
#define SERVO_STABILIZATION_REVERSE 1
110
 
112
 
Line 194... Line 196...
194
  uint8_t heightControlTestOscAmplitude;
196
  uint8_t heightControlTestOscAmplitude;
Line 195... Line 197...
195
 
197
 
196
  // Servos
198
  // Servos
197
  uint8_t servoCount;
199
  uint8_t servoCount;
198
  uint8_t servoManualMaxSpeed;
200
  uint8_t servoManualMaxSpeed;
Line 199... Line 201...
199
  servo_t servoConfigurations[2]; // [PITCH, ROLL]
201
  Servo_t servoConfigurations[2]; // [PITCH, ROLL]
200
 
202
 
201
  // Outputs
203
  // Outputs
202
  output_flash_t outputFlash[2];
204
  output_flash_t outputFlash[2];