Simon Wilks
f1d8aa57ce
Ensure that numerator / demoninator <= 1.
12 years ago
Lorenz Meier
a0afed400f
Fix signs for fixed wing control, issue resulted from consistently flipped pitch response for IO and FMU
12 years ago
Lorenz Meier
74bcf29c69
Refactored debug level into proper register, px4io status now correctly reads it. Added more of the missing alarms clear logic, alarms reporting now consistent. Adding missing sign change on mode switch, fixes override issue when attempting to switch to auto mode. Pending outdoor tests
12 years ago
Lorenz Meier
a493824850
Fixed wrong comment
12 years ago
Lorenz Meier
ff5ca82c75
Fixed throttle scaling issue, harmonized FMU and IO RC scaling code
12 years ago
Lorenz Meier
c993ba5bbc
Fixed minor scaling issue, throttle range still half
12 years ago
Lorenz Meier
4797c192be
Fixed RC calibration scaling / assignment
12 years ago
Lorenz Meier
2284e668eb
Removed bound checking assertions
12 years ago
Lorenz Meier
5cc1e30e4f
Corrected assertion range
12 years ago
px4dev
e622835555
Bump the task stack up to 1200 bytes to give the mixer loader some headroom. This addresses the last reported issue with this branch.
12 years ago
px4dev
6ac7e8b7e4
Scale R/C inputs around the preset center, not the nominal center.
12 years ago
px4dev
f245d6b1a7
Use hrt_elapsed_time() in cases where we can't be sure the timestamp won't change under us.
12 years ago
px4dev
8c7e2546ed
Simplify the PX4IO main loop to cut down on memory consumption.
12 years ago
Lorenz Meier
a704acc2a2
Out of memory warning, flash and RAM optimizations
12 years ago
Lorenz Meier
4595cc65b8
Reworked manual override flag, reworked arming slightly. Pending testing
12 years ago
Andrew Tridgell
c0a46c4b93
px4io: fixed logical vs bitwise typo
12 years ago
Andrew Tridgell
5ee52138c4
px4io: ensure RC_OK status flag is set on good input
12 years ago
px4dev
f854e2f791
Fixes from/inspired by Tridge; enable all mapped R/C inputs, fix various logic errors, be more selective about clearing the RC input type flags for debugging purposes.
12 years ago
px4dev
2686344d58
Adjust the default deadzone for RC inputs per feedback.
12 years ago
px4dev
4e38615595
Major workover of the PX4IO firmware for I2C operation.
12 years ago
Lorenz Meier
cf563eda86
px4io code style
12 years ago
Simon Wilks
7842caf3b2
Moved the channel mappings and attributes to the config section
12 years ago
Lorenz Meier
83039e76d3
Reverted unwanted S.Bus changes
12 years ago
px4dev
d81edb09cf
whitespace/formatting
12 years ago
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.
12 years ago
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
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
7c3b28d503
Lock out the PPM decoder if the DSM or S.bus decoders have seen a frame recently.
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
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
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
c3fe915b44
Checkpoint - moving things out of the NuttX configs/*/src directories
12 years ago
px4dev
d7fb2175eb
A simple file write performance test
13 years ago
Lorenz Meier
b5f7adfc10
Many Doxygen style fixes
13 years ago
px4dev
8a365179ea
Fresh import of the PX4 firmware sources.
13 years ago