Commit Graph

3010 Commits

Author SHA1 Message Date
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
Pavel Kirienko 5716dad25d Added workaround for hardware issue on Pixhawk v1 2014-05-06 20:14:07 +04:00
Pavel Kirienko 7d7a375dd1 Fixed hardcoded include path 2014-05-06 19:42:40 +04:00
Pavel Kirienko 7813566e66 Initial UAVCAN integration. The library compiles successfully, CAN driver appears to be working properly. There is one hardcoded path in the module makefile that needs to be fixed; plus the compilation will likely fail unless arch/math.h contains log2l() 2014-05-06 19:30:45 +04: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
Lorenz Meier 6351fd1e2c Added debug printfs 2014-05-05 13:48:05 +02:00
Lorenz Meier 2e1dae2a7f Merge branch 'master' into mavlink-ftp 2014-05-05 07:14:32 +02:00
Anton Babushkin e04b8d221b att_pos_estimator_ekf restored 2014-05-04 21:39:15 +02:00
px4dev ef7c57f1ce Implement directory listing 2014-05-04 12:25:25 -07:00
px4dev 12390d7281 WIP: Mavlink file server 2014-05-04 11:19:26 -07: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
TickTock- 269800b48c renamed EASY to POSHOLD and SEATBELT to ALTHOLD 2014-04-27 14:06:00 -07:00