Commit Graph

5942 Commits

Author SHA1 Message Date
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
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
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
Anton Babushkin 9e9105048a commander, navigator: failsafe fixes, mavlink messages cleanup 2014-01-26 15:46:14 +01:00
Anton Babushkin c841929e3f commander: «home position set» condition fixed, failsafe fixes, navigator: state indication bugfix, control_mode fixes 2014-01-26 14:12:27 +01:00
Anton Babushkin b7c69262a7 state_machine_helper: added missed transition to FAILSAFE_STATE_LAND, transition conditions fixed 2014-01-26 11:58:50 +01:00
Anton Babushkin 7d2efe9367 commander, navigator: minor cleanup (refactoring), code style fixed 2014-01-26 11:52:33 +01:00
Anton Babushkin c7f0553938 cammander: state machine can now deny current state (e.g. when position lock lost during EASY mode), added FAILSAFE_STATE_LAND 2014-01-26 11:50:34 +01:00
Anton Babushkin 062b64a1e2 navigator: RTL on failsafe bug fixed 2014-01-25 23:49:33 +01:00
Anton Babushkin 92ddf7903b commander: more user-friendly states indication 2014-01-25 23:37:26 +01:00
Anton Babushkin ebc7cb03b7 «flighttermination state» replaced by more general «failsafe state» 2014-01-25 23:24:12 +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 e8a1b620e9 Merge branch 'master' into beta 2014-01-24 18:25:26 +01:00
Lorenz Meier e07d91613b Remove unused field 2014-01-24 18:24:54 +01:00
Lorenz Meier 06227331ea Checking out registers page state from master, as this is clearly a symptom of a bad merge 2014-01-24 18:21:28 +01:00
Lorenz Meier bcf34e2807 Merge branch 'master' into beta 2014-01-24 18:17:18 +01:00
Lorenz Meier b26c23c5f4 Merge branch 'cleanup' 2014-01-24 18:14:15 +01:00
Lorenz Meier a81cf70460 Merge branch 'cleanup' into beta 2014-01-24 18:11:52 +01:00
Lorenz Meier 29d90a2f84 Merge branch 'sbus2' into beta 2014-01-24 18:11:44 +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
Lorenz Meier 33688fec9c Make the sensors app less verbose 2014-01-24 17:36:13 +01:00
Lorenz Meier 15f8e5acf1 Make in the comments explicit that we don’t do anything here under normal circumstances to make it less tempting to comment out the helpful debug tools in this section. 2014-01-24 17:35:29 +01:00
Lorenz Meier c5cb3cfd21 Make the IO mixer upload report not only a global success / fail flag, but on transfer basis. Also use a crude lock to avoid updating the mixer while it runs (we have no proper mutexes on IO, and this is a pure read/write locking case with two locks, which should make the execution even with this crude approach thread-safe). 2014-01-24 17:34:42 +01:00
Lorenz Meier 92a6c7d734 Set timeouts back to short, now that we have multiple tries in the uploader. This ensures we try often enough in the 200 ms IO bootloader wait phase to hit it. 2014-01-24 17:33:04 +01:00
Lorenz Meier 73a483c265 Finally fix the timing race between the IO driver, IO uploader and the on-IO firmware by making the uploader tolerant of timing offsets. 2014-01-24 17:30:40 +01:00
Lorenz Meier 1960f7d6c5 Initialize null pointers correctly, always set the pointer to null after deletes. Remove some verbosity from startup and do not try to initialise IO when we just want to reboot it into the bootloader. 2014-01-24 17:29:27 +01:00
Lorenz Meier 2f968357a3 Make the protocol version more descriptive - helps to understand when / how px4io detect fails. 2014-01-24 17:28:04 +01:00
Lorenz Meier 4f78c3e605 Disable PX4IO debug - spams console on comms failure. Each command does report the failure separately, so we get a better feedback level without the spam. 2014-01-24 17:27:28 +01:00
Lorenz Meier 65118f0c2e Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup) 2014-01-24 17:26:13 +01:00
Lorenz Meier 7cd2296e1d Merge branch 'master' into sbus2 2014-01-24 14:20:55 +01:00