Commit Graph

788 Commits

Author SHA1 Message Date
Lorenz Meier e421260f7c Removed bogus sensor counters, replaced them with proper timestamps 2014-01-12 12:57:53 +01:00
Lorenz Meier 0bcdfa18c7 Merge branch 'master' of github.com:PX4/Firmware into paul_estimator 2014-01-12 12:27:12 +01:00
Lorenz Meier c463fde0b9 Compiling in new functions 2014-01-07 21:42:51 +01:00
Lorenz Meier ea4552a53d Added functionality to read serial 2014-01-07 21:41:54 +01:00
Lorenz Meier 0ef85c133b OTP return value cleanup 2014-01-07 21:41:07 +01:00
Buzz 4ef7817d96 added otp library 2014-01-07 19:10:25 +01:00
Lorenz Meier 395033eeb0 Switch to 21 state version, publish local position as well 2014-01-07 09:47:49 +01:00
Andrew Tridgell 94b539dfdd px4io: enable power on Spektrum connector on init 2014-01-07 09:36:33 +01:00
Andrew Tridgell 1a13e66aab px4iofirmware: make forceupdate more reliable
this schedules a reboot rather than rebooting immediately, which means
the FMU gets an ACK for its reboot operation, preventing it from
timing out waiting for the ACK. That makes the timing of the reboot
more consistent, which makes it more reliable for forceupdate
2014-01-07 09:30:56 +01:00
Lorenz Meier 8bd532c855 Change slightly the way we handle timestamps, apply same unknown scaling as on logfiles 2014-01-05 01:57:01 +01:00
Lorenz Meier a5e95bde0a Added lots of instrumentation to ensure all data sources are coming in clean 2014-01-03 00:35:18 +01:00
Lorenz Meier 963f47ff0f Merged estimator branches 2014-01-02 22:18:20 +01:00
Lorenz Meier 8ad4b72fc7 Compile fixes, publishing estimated attitude now 2014-01-02 22:17:16 +01:00
Lorenz Meier 4217272742 Filter returns some results. Needs careful range and unit checking, but on track 2014-01-02 20:17:53 +01:00
Lorenz Meier 2bf4e79124 Fix up init 2014-01-02 20:08:39 +01:00
Lorenz Meier cbac002fb3 Use the already compensated mag vector and initialize offsets to zero 2014-01-02 19:18:19 +01:00
Lorenz Meier 17ac30f1b1 More fixes, but things are pretty NaN still 2014-01-02 17:08:24 +01:00
Lorenz Meier f0740df53a Set new filter as default in HIL and fixed wing, fixes in estimator, WIP 2014-01-02 16:59:11 +01:00
Lorenz Meier 3d68c37d3c Now actually loading data into the filter when running it 2014-01-02 16:25:53 +01:00
Lorenz Meier 75e6cf45e9 Use a really large amount of stack to avoid running out of it 2014-01-01 17:04:24 +01:00
Lorenz Meier 5008f79a96 Interfaced Pauls estimator, compiles, untested 2014-01-01 16:48:15 +01:00
Lorenz Meier ffe5c88d98 Added new estimator framework, actual estimation code not yet present 2014-01-01 13:18:21 +01:00
Lorenz Meier 5b302fef59 HOTFIX: Increased attitude control updates to 50 Hz - was less than 10 Hz and unintended slow 2013-12-31 14:47:01 +01:00
Lorenz Meier 0153e334ff Add note about multi-port support on GCS side 2013-12-29 12:03:35 +01:00
Lorenz Meier 87a61de670 Support for more than 8 output ports 2013-12-29 12:02:23 +01:00
Julian Oes e462c70af7 Merge remote-tracking branch 'px4/master' into control_groups 2013-12-27 23:57:37 +01:00
Julian Oes a4a5eee08d Attitude_estimator_ekf: Fix params, this bug caused the multirotor_att_control to stop 2013-12-27 23:27:25 +01:00
Lorenz Meier 965a7a4f03 Allow to disable a channel 2013-12-27 21:33:19 +01:00
Lorenz Meier a9ea39054d Working around creating an error condition with more than 8 raw RC channels 2013-12-27 21:19:04 +01:00
Lorenz Meier cddbb0d23f Merged master 2013-12-27 21:12:51 +01:00
Lorenz Meier dd5549da46 Hotfix: Better dead zone defaults 2013-12-27 15:50:28 +01:00
Lorenz Meier c5ef295f68 Hotfix: Reduce mag influence on att estimate 2013-12-27 15:46:50 +01:00
Lorenz Meier 8d2950561d Changed RSSI range to 0..255 2013-12-25 15:15:15 +01:00
Lorenz Meier edffade8ce Added PPM frame length feedback in IO comms and status command - allows to warn users about badly formatted PPM frames 2013-12-25 15:11:48 +01:00
Lorenz Meier a502332992 Greatly robustified PPM parsing, needs cross-checking with receiver models 2013-12-25 15:11:05 +01:00
Thomas Gubler c191597625 HIL: only listen to first 8 actuator outputs 2013-12-24 15:15:39 +01:00
Lorenz Meier 64ad3d7e0a Added channel count to log format 2013-12-23 18:44:07 +01:00
Lorenz Meier f8134c9c67 Enable 18 channels on IO 2013-12-22 21:12:31 +01:00
Lorenz Meier 9abf31c2ba Support 18 channels correctly on FMU 2013-12-22 21:09:47 +01:00
Lorenz Meier 6c990d0a6e Fix usage of wrong constant for RC input channels 2013-12-22 20:44:51 +01:00
Lorenz Meier 999051546a Fixed compile error 2013-12-21 19:08:52 +01:00
Lorenz Meier b84c9f962b Merged master 2013-12-21 19:07:24 +01:00
Lorenz Meier 0f0dc5ba06 Allowed custom battery scaling on IO 2013-12-21 12:45:04 +01:00
Lorenz Meier f174ca3ce5 Added average as direct output 2013-12-20 21:52:10 +01:00
Lorenz Meier b9a533acae Merge pull request #505 from PX4/rc_failsafe
Futaba RC failsafe support
2013-12-19 07:41:25 -08:00
Lorenz Meier d6a6d59d2d Further improved S.Bus scaling 2013-12-14 15:09:20 +01:00
Lorenz Meier 00dc339d2e Improved S.Bus scaling based on scope measurements 2013-12-14 14:52:57 +01:00
Lorenz Meier 9883a346a0 First stab at implementing better RSSI based connection status estimation, still needs some work and testing 2013-12-13 18:01:55 +01:00
Holger Steinhaus L a673fa3926 Non-destructive handling of failsafe signals, distinction between frame loss and signal loss.
This kind of handling might be moved upstream into the application, once alarms are propagated by the ORB system.

This change is compatible with RX failsafe settings, but does not rely on it (uses SBus flags instead).
2013-12-13 17:30:26 +01:00
Holger Steinhaus L 3a40ea8338 more precise range conversion for SBus input signals 2013-12-13 17:30:14 +01:00