Lorenz Meier
a704acc2a2
Out of memory warning, flash and RAM optimizations
12 years ago
Andrew Tridgell
4a15eef602
px4io: fixed signals for lower latency PWM output
...
poll() is not interrupted by signals, whereas usleep() is
12 years ago
Andrew Tridgell
9f15f38e57
Merged, removed unneeded line
12 years ago
Lorenz Meier
56bf9855a8
Finished and tested in-air restore of arming state, as long as both boards reset at the same time armings state is now retained
12 years ago
Lorenz Meier
f689f0abb0
Fixed excessive debug buffer size
12 years ago
Andrew Tridgell
a33f314a25
More output
12 years ago
Andrew Tridgell
6eb69b07a8
Merged debug level commits from Tridge
12 years ago
Andrew Tridgell
bfecfbf5ee
px4io: added isr_debug()
...
this is useful for debugging px4io internals
12 years ago
px4dev
8cb583cf80
Assorted compile fixes.
12 years ago
px4dev
112f5ea969
Add support for raw PWM passthrough from FMU via IO.
12 years ago
px4dev
4e38615595
Major workover of the PX4IO firmware for I2C operation.
12 years ago
px4dev
5e35491a38
We can't have DMA on both I2C1 and USART2. Since we need it more for I2C, and since USART2 is going back to being ignored once I2C works, let's make the call.
...
Turn off the debug output on I2C for now.
12 years ago
px4dev
811790a14f
Checkpoint I2C slave work on IO
12 years ago
px4dev
d81edb09cf
whitespace/formatting
12 years ago
px4dev
d5da457e29
Fix PX4IO to run C++ static ctors
12 years ago
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).
12 years ago
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).
12 years ago
px4dev
efd3b9dea6
Clean up the FMU communications init.
12 years ago
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
12 years ago
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.
12 years ago
px4dev
3321ca0888
Don't print the status line so much; we seem to drop a lot of receive characters this way.
12 years ago
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
.
12 years ago
Julian Oes
38b20f2a1a
Revert "Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs."
...
This reverts commit ff3a014971
.
12 years ago
px4dev
ff3a014971
Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs.
12 years ago
Julian Oes
74f7600602
Again some hacking to make arming/disarming work for now
12 years ago
px4dev
39659e57f8
Add prototypical support for Spektrum satellite remotes to PX4IO.
12 years ago
px4dev
7fbad5adea
Fix PWM channel zero output; pin configuration was being overwritten by USART2 setup.
12 years ago
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.
12 years ago
px4dev
ea539031da
Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet.
12 years ago
px4dev
c3fe915b44
Checkpoint - moving things out of the NuttX configs/*/src directories
12 years ago
Lorenz Meier
139cd09176
Faster sensor bus resets on timeouts, massively reworked fixed wing app, tested
13 years ago
px4dev
8a365179ea
Fresh import of the PX4 firmware sources.
13 years ago