Commit Graph

1599 Commits

Author SHA1 Message Date
Lorenz Meier 713f35e04e Merge branch 'master' of github.com:PX4/Firmware into rc_mapping 2014-02-01 14:17:06 +01:00
Lorenz Meier c1d1d67534 Improved RC calibration behaviour, fully supported setting trim offsets 2014-02-01 13:22:52 +01:00
Anton Babushkin 7d17a48b3c param set: fixed float format 2014-01-31 17:34:46 +01:00
Lorenz Meier 83df116c7a Hotfix: Move mixer variables in test routine into function 2014-01-30 23:11:37 +01:00
Lorenz Meier 8d79d91950 Revert "Merge pull request #620 from pigeonhunter/stack_sizes"
This reverts commit 3b31a6b1b9, reversing
changes made to 70afb3ca3b.
2014-01-30 21:54:29 +01:00
Lorenz Meier 5316741ed4 Revert "mavlink: revert stack size 2048 to fix suspending in HIL mode"
This reverts commit eb177def14.
2014-01-30 21:53:27 +01:00
Anton Babushkin eb177def14 mavlink: revert stack size 2048 to fix suspending in HIL mode 2014-01-30 20:50:47 +01:00
Lorenz Meier 71e35d7ed1 Merge branch 'master' of github.com:PX4/Firmware 2014-01-30 19:44:38 +01:00
Lorenz Meier 1458bdfbcb Pure code style fix of cpuload, no funcationality changes 2014-01-30 13:07:17 +01:00
Lorenz Meier ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Lorenz Meier 3b31a6b1b9 Merge pull request #620 from pigeonhunter/stack_sizes
Stack sizes
2014-01-30 00:54:55 -08:00
Lorenz Meier 70afb3ca3b Merge pull request #609 from PX4/rc_status
RC status metadata cleanup and extension
2014-01-30 00:53:01 -08:00
Darryl Taylor 44cb4d9617 Merge remote-tracking branch 'origin/master' into memory_tests 2014-01-29 18:00:08 +08:00
Darryl Taylor 1d70a65f40 Stack size reduced to 1280. Max stack size reported as 1020 with UBX GPS with 3d lock. MTK not tested. 2014-01-29 17:52:22 +08:00
Darryl Taylor 0cc311b872 Reduced stack size to 2568. Max stack usage reported as 2052 with MARG + GPS with 3d lock - no px4flow, but should be more than enough buffer to accomodate its addition. 2014-01-29 17:39:35 +08:00
Darryl Taylor 70b1037c2e Stack size reduced to 2408. Max stack usage reported by top in EASY mode at 1924. 2014-01-29 17:35:34 +08:00
Darryl Taylor b0f65bb708 Stack size reduced to 1648. Max stack usage reported top at 1316. 2014-01-29 17:12:16 +08:00
Darryl Taylor 58a1f19d79 Stack size reduced to 1816. Max stack reported by top was 1448 under HIL. 2014-01-29 17:09:05 +08:00
Darryl Taylor 338b753a3c Reduced stack size to 1200. Max stack space used was 956. 2014-01-29 17:00:07 +08:00
Lorenz Meier c801446088 Merge branch 'master' of github.com:PX4/Firmware 2014-01-28 11:13:43 +01:00
Lorenz Meier 19c3525f58 Hotfix: Fixed telemetry transmission of RC channels - we always sent one set too much - by lieron 2014-01-28 11:13:37 +01:00
Darryl Taylor 0488d5b41c Reduced commander main task stack size to 2088. The high-water-mark measured at 1668 after calibration and flight. 25% safety margin, but commander is fairly complex. There are surely untested code paths here, but each is relatively shallow. 2014-01-28 10:43:33 +08:00
Darryl Taylor d1fb765187 Reduced low priority thread stack size to 1728. Top indicates the high-water-mark is at 1380 during accelerometer calibration. Safety margin ~25% 2014-01-28 10:30:16 +08:00
Darryl Taylor dfaa5a0c7c Reduced stack from 2048 to 1024. Top reports stack usage at 812 under flight conditions. 2014-01-28 09:57:47 +08:00
Lorenz Meier 0393b2aa12 Build fix for IO control input parsing. 2014-01-26 16:01:39 +01:00
Lorenz Meier 00a3270dc6 Differentiate between failsafe having kicked in (which stops the normal 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. 2014-01-26 15:52:51 +01:00
Lorenz Meier 2a30c574ce IO status printing improvements / fixes 2014-01-26 15:50:19 +01:00
Lorenz Meier d1c934233f Fix S.BUS decoder to return value even if its just failsafe 2014-01-26 15:30:16 +01:00
Lorenz Meier cc68d11353 Add flag to indicate proper RC mapping 2014-01-26 15:26:19 +01:00
Lorenz Meier ac32116f00 Fix docs header 2014-01-26 15:17:01 +01:00
Lorenz Meier b67f7b2c7c Fix printing of IO status 2014-01-26 15:16:43 +01:00
Lorenz Meier ba4cd9604a Merge branch 'master' into rc_status 2014-01-26 15:00:20 +01:00
Lorenz Meier fdc7aa3be2 Merge branch 'master' of github.com:PX4/Firmware 2014-01-26 14:58:34 +01:00
Lorenz Meier 2dc3cf5e43 Remove unneeded header and commented out dead code from MEAS airspeed driver 2014-01-26 14:58:21 +01:00
Lorenz Meier 9cdbbab855 Differentiate between publication and signal receive timestamp, correctly set the rc_lost flag in the frame. Ready for prime-time testing. 2014-01-26 14:52:46 +01:00
Lorenz Meier 731ab465b3 Add support in the IO driver to control the S.Bus / RSSI port. 2014-01-26 14:22:54 +01:00
Lorenz Meier 16eb68f2e9 Allow the setup flags to control the S.BUS / RSSI port instead of doing some wild, likely incorrect, guesses. 2014-01-26 14:13:57 +01:00
Lorenz Meier a737a2a406 RSSI and SBUS out config now handled as setup feature flags. 2014-01-26 13:22:26 +01:00
Lorenz Meier 57d38bc8ce Clean up RC related metadata, put everything into the RC data page. This 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. 2014-01-26 00:17:26 +01:00
Lorenz Meier eee2508644 Add additional flags to RC topic, not used yet. 2014-01-26 00:14:19 +01:00
Lorenz Meier b06d199129 Fixed year in controls.c comment. 2014-01-25 23:10:48 +01:00
Lorenz Meier aff11d6d86 IO firmware: Use right base reg value - since the wrong one had the same value this hasn’t been an issue, but it would have become one once one of them changed. 2014-01-25 23:06:53 +01:00
Lorenz Meier bafcbd99a6 Stop setting RSSI by cross-reading servo status. 2014-01-25 23:04:16 +01:00
Lorenz Meier f2f94f0f17 IO driver: Variable name and comment cleanup, no binary / functionality changes. 2014-01-25 23:03:21 +01:00
Lorenz Meier 8149bf95fc Merge pull request #603 from PX4/rc_config_cleanup
RC config params set to more useful default values - needs more testing
2014-01-25 13:46:55 -08:00
Lorenz Meier e07d91613b Remove unused field 2014-01-24 18:24:54 +01:00
Lorenz Meier b26c23c5f4 Merge branch 'cleanup' 2014-01-24 18:14:15 +01:00
Lorenz Meier 8f67307aed Merge pull request #606 from PX4/sbus2
Sbus2
2014-01-24 08:56:26 -08:00
Lorenz Meier 880342b9c1 Missing header for mixer status change. 2014-01-24 17:37:34 +01:00
Lorenz Meier bd15653b17 Use the proper status registers for locking out from mixer updates and return the value of the mixer change. 2014-01-24 17:37:01 +01:00