Commit Graph

6045 Commits

Author SHA1 Message Date
Andrew Tridgell 6b709e21d3 FMUv2: set SPI GPIO pins on bus 1 to 50MHz
this solves the ms5611 issue related to temperature. We now need to
test if it is OK with all sensors
2014-01-29 13:17:24 +01:00
Anton Babushkin 48cec50dd3 navigator: handle regaining global position lock while LANDing 2014-01-29 13:12:57 +01: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
Anton Babushkin 23a87f5a52 navigator: add home position check for RTL state 2014-01-28 21:44:46 +01:00
Anton Babushkin 6a1a29f77e global_position topic: added baro_alt, mc_pos_control: SEATBELT mode fixed, use baro/AMSL alt 2014-01-28 20:40:05 +01:00
Anton Babushkin 48f1b7e1c7 mc_pos_control: fill nav_state = NONE when publishing position setpoint triplet 2014-01-28 18:39:55 +01:00
Anton Babushkin 5ffa28b0e9 dlog2: GPSP message fixed 2014-01-28 18:21:37 +01:00
Anton Babushkin 3601b80747 mc_pos_control: avoid global to local projections, work in global frame 2014-01-28 16:57:31 +01:00
Anton Babushkin 33daf84c00 lib/geo: bugs fixed, added function add_vector_to_global_position() 2014-01-28 16:56:53 +01:00
Lorenz Meier e6f5bc64fe Merge pull request #618 from PX4/fsm_visualisation
FSM visualisation script
2014-01-28 05:59:09 -08:00
Julian Oes 99875bbd28 FSM visualisation script: cope with prefixed state names 2014-01-28 12:31:23 +01:00
Julian Oes 547080f188 Revert "Navigator: make state names generic so that they can be used by the FSM visualisation tool later"
This reverts commit 984a815b94.
2014-01-28 12:29:30 +01: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
Julian Oes 1488d32d0f FSM visualisation script: renamed the file 2014-01-28 10:49:14 +01:00
Julian Oes c5a3dd9168 FSM visualisation script: use argparse instead of optionparse and some minor cleanup 2014-01-28 10:46:44 +01:00
Julian Oes 6002819f8f Navigator: FSM bugfix and missing break 2014-01-28 10:21:48 +01:00
Julian Oes cd9ec04904 Added FSM visualisation script 2014-01-28 10:15:28 +01:00
Julian Oes 984a815b94 Navigator: make state names generic so that they can be used by the FSM visualisation tool later 2014-01-28 10:08:23 +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
Anton Babushkin f9b5709e9b sdlog2: NavState moved to GPSP message 2014-01-28 00:23:23 +01:00
Anton Babushkin 3fdb082cb8 mavlink: AUTO states indication fixed 2014-01-28 00:03:29 +01:00
Thomas Gubler fff97da360 Merge remote-tracking branch 'upstream/beta' into beta 2014-01-27 23:46:57 +01:00
Thomas Gubler 3f79057dd1 fw att pos estimator: fix output lat/lon conversion (introduced by changes in 58792c5ca6) 2014-01-27 23:46:02 +01:00
Lorenz Meier 428a90f4ae Merge branch 'master' into beta 2014-01-27 22:12:52 +01:00
Lorenz Meier fbafeab792 Merge branch 'master' of github.com:PX4/Firmware 2014-01-27 22:12:35 +01:00
Anton Babushkin 7d334ed54f navigator: RTL fix, more informative log message 2014-01-27 21:52:23 +01:00
Anton Babushkin 99bb606a88 Merge commit 'dc3907fb36d06064e1f92b098b2b0bae860f4074' into beta1 2014-01-27 21:06:51 +01:00
Anton Babushkin d1508a7813 vehicle_control_mode publication moved to commander, WIP 2014-01-27 20:49:17 +01:00
Lorenz Meier dc3907fb36 Merge branch 'master' of github.com:PX4/Firmware into beta 2014-01-27 18:16:50 +01:00
Lorenz Meier 7e855b5a23 Deleted test - should not be in mainline 2014-01-27 17:20:24 +01:00
Lorenz Meier 4c4cd41b72 Registered all new system types 2014-01-27 17:14:31 +01:00
Lorenz Meier 068cc190e2 Updated / added all system types that have been available before 2014-01-27 17:14:18 +01:00
Lorenz Meier ba90dc87f6 HOTFIX: Re-enable legacy config support, uncomment commented out configs. Needs more work. 2014-01-27 16:43:44 +01:00
Anton Babushkin 20108ed95d commander: minor refactoring current_status -> status 2014-01-27 13:18:54 +01:00
Anton Babushkin ad51e0a08a navigator: minor mavlink messages and comments fixes 2014-01-27 12:09:23 +01:00
Anton Babushkin 1e63e8d932 navigator: wait before landing in RTL 2014-01-27 12:07:27 +01:00
Anton Babushkin 4cfff5d8e5 Merge branch 'beta' of https://github.com/PX4/Firmware into beta 2014-01-26 20:13:42 +01:00
Lorenz Meier 1b2273a88b Merge branch 'master' of github.com:PX4/Firmware into beta 2014-01-26 19:58:57 +01: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