Commit Graph

22 Commits

Author SHA1 Message Date
px4dev c740e9c616 Add a receive error counter for debugging purposes. 2012-12-30 01:16:54 -08:00
px4dev 85375c2201 Rename the FMU->IO output controls to reflect the fact that they are controls, not servo values. 2012-12-29 17:15:48 -08:00
px4dev d81edb09cf whitespace/formatting 2012-12-29 16:01:24 -08:00
px4dev 6b9d5dac4d Rough in the new mixer path for PX4IO. 2012-12-29 12:58:41 -08:00
px4dev fd771f67f2 Adjust the control mapping from DSM receivers to correspond to the standard PPM control mapping for channels 0-4. 2012-12-04 22:00:24 -08:00
px4dev 1485a4ec1a Fix breakage to the DSM parser introduced with the input prioritisation logic. Back out to a "any input wins" strategy; connecting multiple receivers to I/O at the same time is currently not supported (read: strange things will happen). 2012-12-03 23:20:28 -08:00
Lorenz Meier de88732e8e Prevented unhealthy RC input from propagating through the system 2012-12-01 10:49:52 +01:00
px4dev efd3b9dea6 Clean up the FMU communications init. 2012-11-30 22:36:17 -08:00
px4dev 7d9d307ab0 We don't need non-blocking I/O for this context anymore; it's OK for it to block. 2012-11-30 22:15:40 -08:00
px4dev 9fa794a8fa Rework the PX4IO software architecture:
- Use a separate thread for handing R/C inputs and outputs.
 - Remove all PX4IO R/C receiver configuration; it's all automatic now.
 - Rework the main loop, dedicate it to PX4FMU communications after startup.
 - Fix several issues in the px4io driver that would cause a crash if PX4IO was not responding.
2012-11-30 00:02:47 -08:00
px4dev d0efd1a419 Fix the DSM (spektrum) protocol decoder, and add some format auto-detection to it. 2012-11-29 00:35:21 -08:00
Julian Oes 2b5f551838 Revert "Revert "Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs.""
This reverts commit 38b20f2a1a.
2012-11-07 14:56:03 -08:00
Julian Oes 38b20f2a1a Revert "Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs."
This reverts commit ff3a014971.
2012-11-07 14:46:28 -08:00
Julian Oes 9f92c6df67 Merge branch 'master' of https://github.com/PX4/Firmware 2012-11-07 10:24:49 -08:00
px4dev ff3a014971 Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs. 2012-11-07 02:47:01 -08:00
Julian Oes 74f7600602 Again some hacking to make arming/disarming work for now 2012-11-06 19:03:08 -08:00
px4dev 39659e57f8 Add prototypical support for Spektrum satellite remotes to PX4IO. 2012-11-05 00:55:45 -08:00
px4dev 487597b385 Checkpoint; messages from FMU now make it to IO intact; fix HRT init timing, process more bytes from the serial port, add some simple packet counting. 2012-11-03 01:14:25 -07:00
px4dev ad7db28929 Let's use poll. It's more friendlier. 2012-11-03 01:14:24 -07:00
px4dev ea539031da Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet. 2012-11-03 01:14:24 -07:00
px4dev c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00