diff --git a/Variants.md b/Variants.md index cd23da5..8566fcb 100644 --- a/Variants.md +++ b/Variants.md @@ -12,3 +12,23 @@ Variants are a set of parameters to configure FOC firmware for a specific use. |MIXER
CMD1
CMD2
|
STEER
SPEED
|
STEER
SPEED
|
STEER
SPEED
|
STEER
SPEED
|
STEER
SPEED
|
STEER
SPEED
|
BRAKE
THROTTLE
|
DISTANCE
STEER
|
N/A
THROTTLE/BRAKE
|
ANGLE LEFT
ANGLE RIGHT
| |AUTO
CALIBRATION
|YES|YES|YES|YES|YES|YES|YES|NO|YES|NO| |CURRENT
MAX SPEED
LIMIT
|YES|YES|YES|YES|YES|YES|YES|NO|YES|NO| + +# Dual Inputs +The firmware supports the input to be provided from two different sources connected to the Left and Right cable, respectively. To enable dual-inputs functionality uncomment `#define DUAL_INPUTS` in config.h for the respective variant. Various dual-inputs combinations can be realized as illustrated in the following table: +| Left | Right | Availability | +| --- | --- | --- | +| ADC(0) | UART(1) | VARIANT_ADC | +| ADC(0) | {PPM,PWM,iBUS}(1) | VARIANT_{PPM,PWM,IBUS} | +| ADC(0) | Sideboard(1*) | VARIANT_HOVERCAR | +| UART(0) | Sideboard(1*) | VARIANT_UART | +| UART(1) | Nunchuk(0) | VARIANT_NUNCHUK | + +(0) Primary input: this input is used when the Auxilliary input is not available or not connected.
+(1) Auxilliary input: this inputs is used when connected or enabled by a switch(*). If the Auxilliary input is disconnected, the firmware will automatically switch to the Primary input. Timeout is reported **only** on the Primary input. + +With slight modifications in config.h, other dual-inputs combinations can be realized as: +| Left | Right | Possibility | +| --- | --- | --- | +| Sideboard(1*) | UART(0) | VARIANT_UART | +| UART(0) | {PPM,PWM,iBUS}(1) | VARIANT_{PPM,PWM,IBUS} | +| {PPM,PWM,iBUS}(1) | Nunchuk(0) | VARIANT_{PPM,PWM,IBUS} |