Lorenz Meier
a9e87c791d
Fixed header for sbus input
2013-01-06 10:13:53 +01:00
Lorenz Meier
abe1b9759a
Merged IO mixing branch
2012-12-30 10:49:27 +01:00
Lorenz Meier
142556b442
merged
2012-12-30 10:03:05 +01: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
Lorenz Meier
be85589e48
Fixed some typos
2012-12-28 20:19:47 +01:00
Lorenz Meier
e56911bf2d
Fixed signal loss detection on S.Bus parsing, stripped PX4IO code parts from S.Bus parser to allow FMU / IO parser code sharing. Added S.Bus channels 17 and 18 if channel data struct has enough space. Tested with receiver and PX4FMU.
2012-12-16 15:31:44 +01:00
Lorenz Meier
f81d00594c
Made PX4IO FMU timeout based on IOs HRT, updating mixers now on every FMU update and not at fixed rate, this is WIP and currently does not support mixing with RC-only
2012-12-15 23:28:03 +01:00
Lorenz Meier
1fc0a6546e
Merged IO feature branch
2012-12-13 11:12:34 +01:00
Lorenz Meier
03076a72ca
Added required additional fields: If system is ok to launch (required for LED indicator), if system is ok to override fully by RC (required for multirotors which should not support this), desired PWM output rate in Hz (again required for some multirotors).
2012-12-13 10:23:02 +01:00
Lorenz Meier
1ebb3b4ada
Merged DSM fixes
2012-12-05 19:55:33 +01: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
7c3b28d503
Lock out the PPM decoder if the DSM or S.bus decoders have seen a frame recently.
2012-12-04 09:52:16 -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
126e6ac207
Enabled manual override switch, work in progress. Added initial demix testing code to support delta mixing on the remote for convenient manual override
2012-12-01 16:30:21 +01:00
px4dev
ea8872f545
Merge branch 'sbus' of https://github.com/PX4/Firmware into #61-px4io-spektrum-decoder
2012-12-01 00:50:39 -08:00
px4dev
efd3b9dea6
Clean up the FMU communications init.
2012-11-30 22:36:17 -08:00
Lorenz Meier
ef4a54666d
Harmonized PPM, S.BUS and DSM input (order: first preference S.Bus, then DSM, then PPM, first available and valid source is chosen), tested with FMU, valid channel inputs
2012-11-30 14:57:54 +01: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
03a82e0a03
Fix includes for debug output.
2012-11-29 00:33:44 -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
87fd9fcc06
Fix red/blue LED assignment.
2012-11-05 00:55:45 -08:00
px4dev
7fbad5adea
Fix PWM channel zero output; pin configuration was being overwritten by USART2 setup.
2012-11-04 16:44:36 -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
ea539031da
Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet.
2012-11-03 01:14:24 -07:00
px4dev
8a365179ea
Fresh import of the PX4 firmware sources.
2012-08-04 15:12:36 -07:00