Commit Graph

6263 Commits

Author SHA1 Message Date
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
Lorenz Meier 63b18399c2 Butchered MAVLink C++ app to compile and link - there is no hope it will work out of the box 8) 2014-01-28 21:05:00 +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
Lorenz Meier 1e3d2acbf6 Not building yet, things are coming together slowly on mavlink app 2014-01-28 19:30:23 +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 e28910127d Merged origin/beta 2014-01-28 15:57:29 +01:00
Lorenz Meier 9c355d280e Merged beta into mavlink rework branch 2014-01-28 15:13:14 +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 ac77fe9c27 WIP state on getting MAVLink as a class, much of the work done, but does not compile yet 2014-01-26 18:40:02 +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
Anton Babushkin 9e9105048a commander, navigator: failsafe fixes, mavlink messages cleanup 2014-01-26 15:46:14 +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