aboutsummaryrefslogtreecommitdiff
path: root/src/modules/px4iofirmware/controls.c
Commit message (Collapse)AuthorAgeFilesLines
* Graupner HoTT SUMD/SUMH Receiver Protocol addedNosDE2015-03-071-7/+35
|
* IO firmware: Make error checking more obviousLorenz Meier2015-01-211-3/+6
|
* Merge pull request #1420 from PX4/rctypeLorenz Meier2014-11-171-1/+8
|\ | | | | Encode RC type in RSSI field for GCS
| * Correct setting of DSM and ST24 flagsDon Gagne2014-11-161-1/+6
| |
| * Initialize RSSI so it doesn't remain uninitializedDon Gagne2014-11-051-0/+2
| | | | | | | | Spektrum doesn’t support rssi so it is not set by st24_decode.
* | px4io: added OVERRIDE_IMMEDIATE arming flagAndrew Tridgell2014-11-161-0/+9
|/ | | | | | this allows the flight code to choose whether FMU failure gives immediate manual pilot control, or waits for the mode switch to go past the override threshold
* Enable flaps, avoid mode switch positionLorenz Meier2014-10-161-8/+5
|
* Enable flaps in manual overrideLorenz Meier2014-10-151-3/+11
|
* IO firmware hot fix: Use right pointer type for RSSI value.Lorenz Meier2014-10-091-2/+2
|
* Fix parser return type handlingLorenz Meier2014-10-071-4/+3
|
* PX4IO Controls: compile fixesLorenz Meier2014-10-071-9/+10
|
* ST24 integration in IO firmwareLorenz Meier2014-10-071-29/+44
|
* Compile and link ST24 parser in IO firmwareLorenz Meier2014-09-011-2/+25
|
* Merge pull request #919 from TickTock-/hotfix_override_thresholdLorenz Meier2014-07-031-2/+2
|\ | | | | Changed low threshold in px4io firmware to 10%...
| * Changed low threshold in px4io firmware to 10% to ensure compatibility with ↵TickTock-2014-05-091-2/+2
| | | | | | | | user configured single channel, mode switches
* | Set an RC status flag so that we can read out the RC status in parallel to ↵Lorenz Meier2014-05-141-1/+6
|/ | | | the RC data
* Merged minimal S.BUS failsafe changesLorenz Meier2014-04-051-4/+6
|\
| * px4io: Guard against the RC failsafe value of channel 5 causing a manual ↵Lorenz Meier2014-04-051-11/+13
| | | | | | | | override action if set to manual in failsafe
| * px4io: Remove unused variableLorenz Meier2014-04-051-2/+0
| |
| * px4io: do not include failsafe condition into rc_lost flagHolger Steinhaus2014-04-051-81/+77
| |
* | Make throttle failsafe depend on the failsafe threshold parameter. Make the ↵Lorenz Meier2014-04-051-3/+3
| | | | | | | | parameter optional (no harm if not found).
* | Proper failsafe handling onboard, including throttle failsafe condition if ↵Lorenz Meier2014-04-051-12/+24
| | | | | | | | enabled
* | px4io: do not include failsafe condition into rc_lost flagHolger Steinhaus2014-03-251-81/+77
|/
* Build fix for IO control input parsing.Lorenz Meier2014-01-261-2/+2
|
* Differentiate between failsafe having kicked in (which stops the normal ↵Lorenz Meier2014-01-261-83/+104
| | | | output mixing based on RC outputs and prevents unwanted control commands due to failsafe) and a true loss of the receiver, where we stop outputting RC channel readings downstream on FMU.
* Allow the setup flags to control the S.BUS / RSSI port instead of doing some ↵Lorenz Meier2014-01-261-14/+9
| | | | wild, likely incorrect, guesses.
* Clean up RC related metadata, put everything into the RC data page. This ↵Lorenz Meier2014-01-261-10/+39
| | | | ensures atomic reads, makes the reads more efficient and allows for some headroom for more RC flags. The IO driver side is updated as well, however, these flags are not published yet.
* Fixed year in controls.c comment.Lorenz Meier2014-01-251-1/+1
|
* Make SBUS switching conditional to be friendly to IO v1Lorenz Meier2014-01-231-0/+2
|
* RSSI and concurrent S.Bus output handlingLorenz Meier2014-01-181-0/+9
|
* Merged masterLorenz Meier2013-12-271-6/+10
|\
| * Changed RSSI range to 0..255Lorenz Meier2013-12-251-3/+3
| |
| * Added PPM frame length feedback in IO comms and status command - allows to ↵Lorenz Meier2013-12-251-3/+7
| | | | | | | | warn users about badly formatted PPM frames
* | Fix usage of wrong constant for RC input channelsLorenz Meier2013-12-221-10/+12
| |
* | Fixed compile errorLorenz Meier2013-12-211-2/+2
|/
* First stab at implementing better RSSI based connection status estimation, ↵Lorenz Meier2013-12-131-4/+17
| | | | still needs some work and testing
* Fix the direction of the override switch for the new state machineLorenz Meier2013-09-241-1/+1
|
* Hotfix for S.Bus systems with more than 8 channelsLorenz Meier2013-09-101-2/+4
|
* Hotfix: remove bogus commitLorenz Meier2013-09-101-2/+0
|
* Merge remote-tracking branch 'px4/new_state_machine_drton' into ↵Julian Oes2013-08-151-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | fmuv2_bringup_new_state_machine_drton Conflicts: src/drivers/blinkm/blinkm.cpp src/drivers/px4io/px4io.cpp src/modules/commander/state_machine_helper.c src/modules/px4iofirmware/protocol.h src/modules/px4iofirmware/registers.c src/modules/systemlib/systemlib.h src/systemcmds/reboot/reboot.c
| * Fix bug where IO was in override mode for copter (workaround was to ↵Julian Oes2013-08-141-0/+2
| | | | | | | | disconnect and reconnect Rx
* | Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringuppx4dev2013-07-141-2/+9
|\|
| * Prevent RELAY1 control via IOCTL if DSM bind feature is enabledJean Cyr2013-07-071-1/+1
| |
| * Support binding DSM2 and DSMX satellite receiversJean Cyr2013-07-051-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The px4io bind command allows you to put a DSM satellite receiver into bind mode. Since this feature requires that the dsm VCC line (red wire) be cut and routed through relay one, it is not enabled by default in order not to affect those not using a DSM satellite receiver or wising to use relay one for other purposes. NOTE: Binding DSM2 satellites in 11-bit mode is not supported due to potential bug in some DSM2 receiver streams when in 11-bit mode. Furthermore the px4io software folds 11 bit data down to 10 bits so there is no resolution advantage to to 11-bit mode. To enable the feature the RC_RL1_DSM_VCC parameter must be set to a non zero value from the console, or using QGroundControl: param set RC_RL1_DSM_VCC 1 From the console you can initiate DSM bind mode with: uorb start param set RC_RL1_DSM_VCC 1 px4io start px4io bind dsm2 For binding a DSMX satellite to a DSMX transmitter you would instead use: px4io bind dsmx Your receiver module should start a rapid flash and you can follow the normal binding sequence of your transmitter. Note: The value of parameter RC_RL1_DSM_VCC defaults to 0, so none of this will have any effect on an unmodified DSM receiver connection. For this feature to work, the power wire (red) must be cut and each side connected to a terminal on relay1 of the px4io board. This has been tested using Spektrum as well as Hobby King 'Orange' DSM satellite receivers. Both px4fmu and px4io images are updated.
| * Hotfix: Changed alarms back to what they originally were designed for: Traps ↵Lorenz Meier2013-05-161-2/+1
| | | | | | | | to later see if condition was once violated. Currente status can be read through the status flags
* | Tweak protocol register assignments and add new registers to accommodate ↵px4dev2013-07-061-6/+6
| | | | | | | | differences in IOv2.
* | iov2 pin definition cleanup sweeppx4dev2013-07-041-2/+2
| |
* | Hotfix: Changed alarms back to what they originally were designed for: Traps ↵Lorenz Meier2013-05-211-2/+1
|/ | | | to later see if condition was once violated. Currente status can be read through the status flags
* Re-enabled mixerLorenz Meier2013-04-281-2/+2
|
* IO compilingLorenz Meier2013-04-281-2/+2
|