Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1867 → Rev 1868

/branches/dongfang_FC_rewrite/controlMixer.h
99,11 → 99,13
uint8_t controlMixer_getSignalQuality(void);
 
/*
* The controls operate in a [-150 * CONTROL_SCALING, 150 * CONTROL_SCALING] interval
* Throttle is [0..300 * CONTROL_SCALING].
* (just about. No precision needed).
* The controls operate in [-1024, 1024] just about.
* Throttle is [0..255] just about.
*/
// Scale controls to 1 byte:
#define CONTROL_SCALING (1024/256)
 
// Scale throttle levels to byte:
#define MOTOR_SCALING (1024/256)
 
/*