Subversion Repositories FlightCtrl

Rev

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

Rev 1969 Rev 1977
Line 69... Line 69...
69
  int16_t offsets[3];
69
  int16_t offsets[3];
70
} sensorOffset_t;
70
} sensorOffset_t;
Line 71... Line 71...
71
 
71
 
72
typedef struct {
72
typedef struct {
-
 
73
  uint8_t manualControl;
73
  uint8_t manualControl;
74
  uint8_t manualMaxSpeed;
74
  uint8_t compensationFactor;
75
  uint8_t compensationFactor;
75
  uint8_t minValue;
76
  uint8_t minValue;
76
  uint8_t maxValue;
77
  uint8_t maxValue;
77
  uint8_t flags;
78
  uint8_t flags;
Line -... Line 79...
-
 
79
} servo_t;
-
 
80
 
78
} servo_t;
81
#define SERVO_COMPENSATION_REVERSE 1
79
 
82
 
80
typedef struct {
83
typedef struct {
81
  uint8_t bitmask;
84
  uint8_t bitmask;
Line 91... Line 94...
91
  uint8_t heightP; // Value : 0-32
94
  uint8_t heightP; // Value : 0-32
92
  uint8_t heightD; // Value : 0-250
95
  uint8_t heightD; // Value : 0-250
93
  uint8_t heightSetting; // Value : 0-32
96
  uint8_t heightSetting; // Value : 0-32
94
  uint8_t heightControlMaxThrottleChange; // Value : 0-100
97
  uint8_t heightControlMaxThrottleChange; // Value : 0-100
95
  uint8_t heightSlewRate; // Value : 0-50
98
  uint8_t heightSlewRate; // Value : 0-50
96
  uint8_t heightACCEffect; // Value : 0-250
-
 
Line 97... Line 99...
97
 
99
 
98
  // Attitude Control
100
  // Attitude Control
Line 99... Line 101...
99
  uint8_t attitudeControl;
101
  uint8_t attitudeControl;
Line 135... Line 137...
135
  servo_t servoConfigurations[2]; // [PITCH, ROLL]
137
  servo_t servoConfigurations[2]; // [PITCH, ROLL]
136
  uint8_t servoCount;
138
  uint8_t servoCount;
Line 137... Line 139...
137
 
139
 
138
  // Battery warning and emergency flight
140
  // Battery warning and emergency flight
139
  uint8_t batteryVoltageWarning; // Value : 0-250
141
  uint8_t batteryVoltageWarning; // Value : 0-250
140
  uint8_t emergencyThrottle; // Value : 0-250     //Gaswert bei Emp�ngsverlust  /*
142
  uint8_t emergencyThrottle; // Value : 0-250
Line 141... Line 143...
141
  uint8_t emergencyFlightDuration; // Value : 0-250     // Zeitbis auf EmergencyGas geschaltet wird, wg. Rx-Problemen
143
  uint8_t emergencyFlightDuration; // Value : 0-250 
142
 
144
 
143
  // Outputs
145
  // Outputs
144
  output_flash_t outputFlash[2];
146
  output_flash_t outputFlash[2];