Commit Graph

237 Commits

Author SHA1 Message Date
Lorenz Meier a9c8f2331b IO firmware: Make error checking more obvious 2015-01-21 08:58:47 +01:00
Anton Matosov 3bf5dd416e Fixed compilation 2015-01-05 13:22:53 +02:00
Anton Matosov 1bc6c44a0e Fixed compilation of tests target in clean checkout
Moved mixer_multirotor.generated.h generation to the standalone makefile to prevent copypaste
2015-01-05 12:37:05 +02:00
Anton Matosov 21b45ae86b Removed extension for multi_tables to not affect its users
Fixed dependencies for the mixer_multirotor.cpp from all the modules
2015-01-05 12:02:32 +02:00
Lorenz Meier 752198352e IO firmware: Change to inttypes header 2014-12-20 19:32:43 +01:00
Lorenz Meier a20b8d037b PX4IO firmware: Add required include. 2014-12-20 19:22:53 +01:00
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