1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight
Oleg Semyonov 0116e6a007 spektrum: rework DSM2/DSMJ/DSMX driver for explicit DSMX resolution support
- both CC serial ports are now disabled by default (no telemetry);
- serial ports now have DSM2, DSMX (10bit) and DSMX (11bit) options;
- ReceiverGroups now have DSM (MainPort) and DSM (FlexiPort) options.

For DSM2 protocol there is an explicit resolution bit in the stream, so
the DSM2 should be selected. For DSMX there is no such bit, and user
should choose the resolution from the list configuring the spektrum port.
ReceiverGroups have single DSM option which is handled by the same driver.

Downside: this implementation saves received frame first, unrolls by the
end of frame. This should be ok, but may be improved by unrolling channels
on the fly in the rx callback.

Another minor difference is that a ChannelGroup is now bound to port:
DSM (MainPort) or DSM (FlexiPort). This was considered as acceptable
solution in order to not have 6 DSM options for each ChannelGroup and
even more in case of new DSM protocol variations.

Known problem: it is not possible to choose same protocols like
DSM2/DSM2 for two ports. It can be enabled by adding an exception to
common rule, though.

The DSMX throttle channel misbehavior (zero value) is not treated
specially yet. It should trigger the failsafe being out of bounds.
More info and data dumps are required to handle this properly.
2011-10-30 19:29:03 +02:00
..
AHRS openocd: collapse JTAG rules for STM32F1 and STM32F2 2011-08-27 10:43:02 -04:00
Bootloaders Fix jtag programming of bootloader 2011-10-08 14:14:11 -05:00
CopterControl spektrum: rework DSM2/DSMJ/DSMX driver for explicit DSMX resolution support 2011-10-30 19:29:03 +02:00
Doc useless note on documentation (needs update) 2011-03-06 00:29:50 +00:00
INS openocd: collapse JTAG rules for STM32F1 and STM32F2 2011-08-27 10:43:02 -04:00
Libraries Make PWM/PPM and Servo drivers play nicely together 2011-08-27 21:39:56 -04:00
Modules spektrum: rework DSM2/DSMJ/DSMX driver for explicit DSMX resolution support 2011-10-30 19:29:03 +02:00
OpenPilot Merge branch 'next' into os/alternative_spektrum_driver 2011-10-25 11:55:05 +03:00
PiOS spektrum: rework DSM2/DSMJ/DSMX driver for explicit DSMX resolution support 2011-10-30 19:29:03 +02:00
PiOS.posix PiOS.posix: bugfix in pios_udp com driver - data send loop 2011-10-19 13:37:35 +02:00
PiOS.win32 Fix win32 sim macro problem 2011-09-01 21:50:13 -04:00
PipXtreme openocd: collapse JTAG rules for STM32F1 and STM32F2 2011-08-27 10:43:02 -04:00
Project Output: Enable two more channels to support octo + camera 2011-10-15 16:59:42 -05:00
UAVObjects Statically initialize object handles to null to make sure the uavobjectmanager 2011-08-19 10:12:39 -05:00
UAVTalk UAVTalk: Fixed bug in parser failing to handle length of multi-instanceobjects 2011-10-21 02:04:29 +02:00
README.txt Says all it needs to say for now. 2009-12-22 05:07:27 +00:00

Check the wiki