mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
ppm: adjust min frame pulse width for 8ch x 18ms frames
All channels at max when using the FrSKY 4ch D4FR in PPM mode results in the frame pulse shrinking well below our threshold of 3800us and we lose frame. With all 8 channels at max, the frame pulse becomes indistinguishable from the other channels. Using all 8 channels with the FrSKY in PPM mode is NOT recommended even after this change. Recommend using at most 7 active channels in this mode so we can still find the frame pulse.
This commit is contained in:
parent
1b07935201
commit
14cc9ef57c
@ -44,7 +44,7 @@ const struct pios_rcvr_driver pios_ppm_rcvr_driver = {
|
||||
#define PIOS_PPM_IN_MIN_NUM_CHANNELS 4
|
||||
#define PIOS_PPM_IN_MAX_NUM_CHANNELS PIOS_PPM_NUM_INPUTS
|
||||
#define PIOS_PPM_STABLE_CHANNEL_COUNT 25 // frames
|
||||
#define PIOS_PPM_IN_MIN_SYNC_PULSE_US 3800 // microseconds
|
||||
#define PIOS_PPM_IN_MIN_SYNC_PULSE_US 3000 // microseconds
|
||||
#define PIOS_PPM_IN_MIN_CHANNEL_PULSE_US 750 // microseconds
|
||||
#define PIOS_PPM_IN_MAX_CHANNEL_PULSE_US 2250 // microseconds
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user