Andrew Tridgell
c0b47d6a74
px4io: only check SAFETY_OFF for allowing RC config changes and reboot
...
If we check OUTPUTS_ARMED then we can't update trim values and scaling
in flight, as there is no way to clear OUTPUTS_ARMED.
If safety is on then it should be perfectly safe to update the mixer
and RC config or reboot for fw update
2014-11-26 11:39:41 +11:00
Lorenz Meier
300705321a
Allow IO safety off system handling as long as the total system is not live
2014-11-22 16:30:59 +01:00
Lorenz Meier
828163f2f5
Update mixing handling to allow IO safety off updates
2014-11-22 16:30:09 +01:00
Lorenz Meier
4a66b29e55
Merge pull request #1420 from PX4/rctype
...
Encode RC type in RSSI field for GCS
2014-11-17 00:03:31 +01:00
Don Gagne
852fa61173
Correct setting of DSM and ST24 flags
2014-11-16 14:12:58 -08:00
Andrew Tridgell
ba81125453
px4io: added OVERRIDE_IMMEDIATE arming flag
...
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
2014-11-16 21:02:14 +01:00
Lorenz Meier
8caada2188
Breathe animation, led solid on arming
2014-11-16 01:21:47 +01:00
Lorenz Meier
8583cf4dcc
Let it breathe stronger
2014-11-16 00:59:18 +01:00
Lorenz Meier
63707ef058
Let it breathe
2014-11-16 00:57:23 +01:00
Lorenz Meier
c0f32d44a2
First stab at animation
2014-11-16 00:15:40 +01:00
Daniel Shiels
3eeec2cce0
Cleaned up sbus output frame initialisation.
2014-11-10 16:34:28 +11:00
Daniel Shiels
34e9d9efce
Code style cleanup.
2014-11-10 15:54:28 +11:00
Daniel Shiels
60ecd8868d
sbus1 output. Cleaned up. Safer bounds checking.
2014-11-08 22:36:45 +11:00
Daniel Shiels
02d31522cd
First attempt at sbus1 output.
2014-11-08 22:33:33 +11:00
Don Gagne
d907b030ee
Initialize RSSI so it doesn't remain uninitialized
...
Spektrum doesn’t support rssi so it is not set by st24_decode.
2014-11-05 13:15:52 -08:00
Lorenz Meier
75d0ffe4e5
Build fix
2014-11-02 12:34:33 +01:00
Lorenz Meier
2cadd45f30
Configure led ring and enable heartbeat on it
2014-11-02 10:13:11 +01:00
Andrew Tridgell
dd23d0acbc
drivers: allow forcing the safety switch on
...
This allows forcing the safety switch to the on position from software
which stops the pwm outputs
2014-10-30 08:44:00 +11:00
Lorenz Meier
a6c6ae023d
Autoformatting (reviewed) IO sbus handler. No functionality changes.
2014-10-29 14:04:33 +01:00
Lorenz Meier
f490331632
Enable flaps, avoid mode switch position
2014-10-16 22:57:27 +02:00
Lorenz Meier
0d917576d4
Enable flaps in manual override
2014-10-15 22:19:06 +02:00
Lorenz Meier
7bb9b3efa7
IO firmware hot fix: Use right pointer type for RSSI value.
2014-10-09 09:27:25 +02:00
Lorenz Meier
6436db1a99
Fix parser return type handling
2014-10-07 22:24:32 +02:00
Lorenz Meier
c7e8570f83
PX4IO firmware: Fix comment
2014-10-07 09:36:24 +02:00
Lorenz Meier
35caa8bd99
PX4IO Controls: compile fixes
2014-10-07 09:28:36 +02:00
Lorenz Meier
c2687a7774
ST24 integration in IO firmware
2014-10-07 08:05:45 +02:00
Lorenz Meier
10da4aab4e
Merge branch 'master' of github.com:PX4/Firmware into st24
2014-09-27 23:48:32 +02:00
Lorenz Meier
69109b6227
Compile and link ST24 parser in IO firmware
2014-09-01 00:45:41 +02:00
Lorenz Meier
6773eb9880
Introduce FMU initialised status flag, only run failsafe trap if initialized once
2014-08-28 21:39:38 +02:00
Lorenz Meier
c85d7aae06
Make sure we got to valid input at least once before kicking in failsafe
2014-08-28 20:36:59 +02:00
Lorenz Meier
91d50301c6
Do not enter RC override if FMU is lost and termination failsafe mode requested
2014-08-27 10:46:10 +02:00
Lorenz Meier
49846d476f
IO firmware supports termination failsafe
2014-08-27 08:00:12 +02:00
Holger Steinhaus
87b2375be4
Ignore single channels during PWM output
2014-08-26 14:38:32 +02:00
Lorenz Meier
07d11583bb
Rely on theoretical value, as the closed-loop test with multimeter suggests this is the most accurate measurement
2014-07-21 20:21:20 +02:00
Lorenz Meier
178b0f7399
Cross-check with nominal values from divider
2014-07-21 19:25:23 +02:00
Lorenz Meier
0fc73a1484
Fix comment, missing brace in comment
2014-07-21 13:46:38 +02:00
Lorenz Meier
956c084f31
Fit IO voltage estimation using a new dataset, cross-validated with a second unit. Pending testing
2014-07-21 13:31:35 +02:00
Lorenz Meier
87cc7a81ff
Support force fail in valid filter
2014-07-19 15:08:56 +02:00
Lorenz Meier
9a53fd9648
Add force failsafe flag
2014-07-18 11:18:32 +02:00
px4dev
d2a2297a14
Fixes #1130
2014-07-06 11:24:39 -07:00
Lorenz Meier
93dcd90404
Merge pull request #919 from TickTock-/hotfix_override_threshold
...
Changed low threshold in px4io firmware to 10%...
2014-07-03 12:31:51 +02:00
Lorenz Meier
751f8462f6
IO firmware: Warning / bug fixes
2014-06-30 12:21:23 +02:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Lorenz Meier
0ea3e95422
px4iofirmware: Indicate with a comment that band limiting happens in pwm_limit() call
2014-05-23 20:23:33 +02:00
Lorenz Meier
1b491005d1
Minor cleanups on handling, make wrong reg accesses non-fatal for the transfer
2014-05-16 10:43:50 +02:00
Lorenz Meier
5ca96631fc
px4io firmware: Actually accept failsafe values, check their range. Add an error return code for commands that were rejected on reboot and force safety instead of failing silently with an OK value
2014-05-16 09:52:46 +02:00
Lorenz Meier
b903fc1ed3
px4io: Improve the documentation of the protocol header, NO FUNCTIONAL CHANGES
2014-05-16 09:50:10 +02:00
Lorenz Meier
97fb361ea9
Set an RC status flag so that we can read out the RC status in parallel to the RC data
2014-05-14 08:00:00 +02:00
TickTock-
559c62b6bc
Changed low threshold in px4io firmware to 10% to ensure compatibility with user configured single channel, mode switches
2014-05-09 15:17:38 -07:00
Lorenz Meier
d1909ca94b
Merge pull request #878 from PX4/sbus_out
...
S.BUS output
2014-05-05 08:04:28 -07:00