Subversion Repositories FlightCtrl

Rev

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

Rev 1843 Rev 1868
Line 97... Line 97...
97
void controlMixer_performCalibrationCommands(uint8_t command);
97
void controlMixer_performCalibrationCommands(uint8_t command);
Line 98... Line 98...
98
 
98
 
Line 99... Line 99...
99
uint8_t controlMixer_getSignalQuality(void);
99
uint8_t controlMixer_getSignalQuality(void);
100
 
100
 
101
/*
101
/*
102
 * The controls operate in a [-150 * CONTROL_SCALING, 150 * CONTROL_SCALING] interval
-
 
103
 * Throttle is [0..300 * CONTROL_SCALING].
102
 * The controls operate in [-1024, 1024] just about.
-
 
103
 * Throttle is [0..255] just about.
104
 * (just about. No precision needed).
104
 */
-
 
105
// Scale controls to 1 byte:
-
 
106
#define CONTROL_SCALING (1024/256)
105
 */
107
 
Line 106... Line 108...
106
#define CONTROL_SCALING (1024/256)
108
// Scale throttle levels to byte:
107
#define MOTOR_SCALING (1024/256)
109
#define MOTOR_SCALING (1024/256)
108
 
110