Commit Graph
2323 Commits
Author SHA1 Message Date
Lorenz Meier 23937150bc Fixed re-initialization of estimator, re-initializes in air now reliably. Does give useful HIL results. 2014-05-07 18:08:22 +02:00
Lorenz Meier 21edf72779 Do not send a critical message when switching to dynamic state 2014-05-07 14:15:11 +02:00
Lorenz Meier 6a6feaf96c Merged master 2014-05-07 14:14:31 +02:00
Lorenz Meier 9f2d65eff5 Merge branch 'master' of github.com:PX4/Firmware 2014-05-07 14:13:17 +02:00
Lorenz Meier 2d38d113e1 Fix MAVLink to use info warn level for text messages 2014-05-07 14:12:48 +02:00
Lorenz Meier 8a2a0019a4 Merge pull request #896 from PX4/modules_cleanup
Unused deprecated modules removed
2014-05-07 04:18:15 -07:00
Lorenz Meier 8dd0453edc Merge pull request #909 from PX4/failsafe_reporting
Much better failsafe reporting on failsafe state changes
2014-05-07 02:10:53 -07:00
Lorenz Meier 0c318f9ad7 commander: Fix the position failsafe to a) use proper logic to determine if eph / epv are good or not (the previous logic was in some states not initialized) and b) add a hysteresis time - because the check as it was before had zero hysteresis time for a bad eph / epv value 2014-05-07 08:42:57 +02:00
Lorenz Meier 319ce3de10 Minor cleanups in EKF estimator 2014-05-07 08:40:23 +02:00
Lorenz Meier 32b84b9652 Much better failsafe reporting on failsafe state changes 2014-05-06 21:46:59 +02:00
Lorenz Meier 1d6b9fae03 Fix in-air restarts, protect against an external MAVLink sender exploiting the restart mechanism 2014-05-06 14:57:06 +02:00
Lorenz Meier df6a0d5a1a mavlink: Only send the distance sensor message if the topic actually updates 2014-05-06 12:55:39 +02:00
Lorenz Meier d1909ca94b Merge pull request #878 from PX4/sbus_out
S.BUS output
2014-05-05 08:04:28 -07:00
Anton Babushkin e04b8d221b att_pos_estimator_ekf restored 2014-05-04 21:39:15 +02:00
Anton Babushkin f2094b9a1f Unused deprecated modules removed: att_pos_estimator_ekf, fixedwing_att_control, fixedwing_pos_control, position_estimator, position_estimator_mc, sdlog 2014-05-04 16:05:15 +02:00
Thomas Gubler 5f786af8fa mavlink: status is a pointer 2014-05-04 15:02:37 +02:00
Thomas Gubler 0e31b5935e remove trailing whitespace 2014-05-04 15:02:30 +02:00
Lorenz Meier ee580206b4 mavlink: Only sending HIL control commands if the system is actually armed 2014-05-04 14:06:38 +02:00
Thomas Gubler f20a9c4873 Merge remote-tracking branch 'upstream/master' into mtecs 2014-05-03 23:19:12 +02:00
Anton Babushkin 75796e95b4 mc_att_control: MC_YAWRATE_MAX parameter added 2014-05-03 19:19:57 +02:00
Lorenz Meier 5199dea2b3 Merge pull request #876 from PX4/autodeclination
Added automatic declination lookup
2014-05-03 03:41:30 -07:00
Anton Babushkin f6d61dfb4c mavlink: swap x and y when handling MANUAL_CONTROL mavlink message 2014-05-01 23:45:21 +02:00
Thomas Gubler dd8bfc2a0b mtecs: landing mode which limits pitch and as well throttle at the end of the landing 2014-05-01 13:53:47 +02:00
Thomas Gubler 76e47c3135 Merge remote-tracking branch 'upstream/master' into mtecs 2014-05-01 11:43:35 +02:00
Lorenz Meier 6cb96d074d EKF: Introduce proper check flags for sensor init states 2014-04-30 17:01:32 +02:00
Lorenz Meier 7a4049b12a Fix use of declination in estimator, remove bogus measurement value reset on reinit 2014-04-30 16:55:08 +02:00
Lorenz Meier 918c87912d Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-04-30 15:43:08 +02:00
Lorenz Meier 2829d65871 Merge pull request #881 from PX4/led_fix
commander: Stop mixing board support and high level code - just accept t...
2014-04-30 06:34:34 -07:00
Lorenz Meier 1dfa2f100e commander: Stop mixing board support and high level code - just accept that non-mandatory leds may or may not be there 2014-04-30 15:33:47 +02:00
Lorenz Meier be1f39e385 ekf Print declination on init 2014-04-30 08:52:37 +02:00
Lorenz Meier e2af77123f ekf: Cleanup init 2014-04-30 08:25:36 +02:00
Lorenz Meier 81525f6d8a Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-04-30 08:08:14 +02:00
TickTock- 6c76e8ea50 shortened rc_assisted_th to rc_assist_th in case we add a dedicated switch mapping later 2014-04-29 20:51:04 -07:00
Lorenz Meier 848c1c2552 ekf: More complete re-initialization 2014-04-29 21:42:58 +02:00
Anton Babushkin 0c58588a87 mc_att_control: yaw feed-forward in manual control modes fixed 2014-04-29 19:51:05 +02:00
Lorenz Meier 2ee02e5e4b Merge pull request #874 from jean-m-cyr/master
Proper data manager restart handling
2014-04-29 07:53:30 +02:00
TickTock- ef75bbf2ef Updated flight modes diagrams & comments. 2014-04-28 22:11:02 -07:00
TickTock- 31089a290b Replaces poshold/althold with posctrl/altctrl 2014-04-28 21:47:45 -07:00
Lorenz Meier 7c88fbff90 Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_params 2014-04-28 22:39:54 +02:00
Lorenz Meier 86d9fb5636 Merge branch 'autodeclination' into ekf_params 2014-04-28 22:39:02 +02:00
Lorenz Meier da525f29f1 Add missing header in mixer load command 2014-04-28 19:25:13 +02:00
Anton Babushkin 11a1053b73 ekf_att_pos_estimator: local position reference fixed 2014-04-28 19:17:48 +02:00
Lorenz Meier f78005bcb6 Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-04-28 18:34:47 +02:00
Lorenz Meier 90569d22bc Added support for automatic mag declination setup 2014-04-28 18:34:33 +02:00
Anton Babushkin 4378454a10 mc_pos_control: hotfix, MPC_TILTMAX_AIR and MPC_TILTMAX_LND parameters fixed 2014-04-28 17:49:57 +02:00
Lorenz Meier 2c37ec16dc Merge branch 'autodeclination' into ekf_params 2014-04-28 17:48:27 +02:00
Andrew Tridgell ac52111085 px4io: support PX4IO_P_SETUP_FORCE_SAFETY_OFF
this allows the FMU to force the safety off on the IO board. Useful in
two cases:

 1) vehicles where the safety switch is impractical or not useful
 (eg. HAB planes or internal combustion motors)

 2) doing ESC calibration on multi-copters
2014-04-28 11:45:20 +02:00
Lorenz Meier df8fb7d2dc Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_params 2014-04-28 11:41:48 +02:00
Lorenz Meier 0745334ac4 Reset init flags as well 2014-04-28 11:41:40 +02:00
Jean Cyr ab257ebcce Proper data manager restart handling
Introduce SYS_RESTART_TYPE parameter having one of 3 values: boot
restart, inflight restart, or unknown restart, and defaulting to unknown
restart.

px4io.cpp sets this parameter according to the type of restart detected.

dataman.c retrieves this parameter and clears data entries according to
their persistence level. Does nothing if unknown restart.
2014-04-28 00:52:19 -04:00