Commit Graph

2002 Commits

Author SHA1 Message Date
Lorenz Meier 09d1064327 px4io: Remove unused variable 2014-04-05 11:06:07 +02:00
Holger Steinhaus 745ef4f485 px4io: do not include failsafe condition into rc_lost flag 2014-04-05 11:05:17 +02:00
Lorenz Meier 9a0b2b7610 Make throttle failsafe depend on the failsafe threshold parameter. Make the parameter optional (no harm if not found). 2014-04-05 11:02:22 +02:00
Lorenz Meier 9123ebce8c px4io: Allow RC failsafe detection as valid feature 2014-04-05 10:45:02 +02:00
Lorenz Meier 797698a7a1 Trigger failsafe action also on failsafe flag 2014-04-05 10:34:35 +02:00
Lorenz Meier fb44ad8e22 Simplify the failsafe handling, reduce 3 params to one 2014-04-05 10:29:17 +02:00
Lorenz Meier c6d98a32f8 Proper failsafe handling onboard, including throttle failsafe condition if enabled 2014-04-05 10:27:43 +02:00
Anton Babushkin b98157c655 Merge branch 'master' into mpc_local_pos 2014-04-05 10:59:05 +04:00
Lorenz Meier 1ecd3e9291 Merge pull request #795 from PX4/estm_log_fix
Reduced the number of states to 10 to avoid killing the logging system
2014-04-04 14:54:44 -07:00
Lorenz Meier 89817d1366 Merge pull request #794 from PX4/estimator_ram_fix
Move Pauls EKF into a class and instantiate only when / if needed.
2014-04-04 14:39:19 -07:00
Anton Babushkin a6a4ab1dbe position_estimator_inav: reset position estimate when GPS becomes available 2014-04-04 21:45:01 +04:00
Lorenz Meier 1e25ceb085 Create EKF object in right context 2014-04-04 18:47:30 +02:00
Anton Babushkin f12c765383 Merge branch 'master' into mpc_local_pos 2014-04-04 20:36:11 +04:00
Lorenz Meier 88cf841f00 Bump RC timeout for all cases to half a second 2014-04-04 18:18:17 +02:00
Lorenz Meier fcd31b0368 Reduced the number of states to 10 to avoid killing the logging system 2014-04-04 18:14:23 +02:00
Lorenz Meier 2b6a9c5122 Removed a bunch of commented out things that we will not need any more. 2014-04-04 18:07:58 +02:00
Lorenz Meier e075d05f57 Move Pauls EKF into a class and instantiate only when / if needed. Checking for low memory conditions as we should. 2014-04-04 18:05:13 +02:00
Anton Babushkin 60355b4e6c sensors: switch position reading bug fixed 2014-04-03 23:47:09 +04:00
Anton Babushkin 3641faed0c sensors: publish last valid manual control values when signal lost 2014-04-03 23:18:43 +04:00
Julian Oes f17c0b1335 mavlink: implemented multicasting between mavlink instances (two options: forwarding: forward received messages from self to other mavlink instances, passing: send out messages received from other mavlink intances over serial 2014-04-03 21:15:47 +02:00
Julian Oes ed7b97c020 commander: don't beep if message is not understood 2014-04-03 21:13:03 +02:00
Anton Babushkin ef8b974373 fw_att_control: update manual_control_setpoint usage 2014-04-03 22:58:57 +04:00
Anton Babushkin e2ac5222d8 mc_att_control, mc_pos_control: update manual_control_setpoint usage 2014-04-03 20:54:28 +04:00
Anton Babushkin 6f38ed3b4b commander, navigator: use updated manual_control_setpoint 2014-04-03 20:23:34 +04:00
Anton Babushkin 1d5f62d890 sensors: use enum for switches position and -1..1 for values in 'manual_control_setpoint' topic 2014-04-03 17:26:07 +04:00
Anton Babushkin 2c4792d48e sdlog2: added 'signal_lost' logging 2014-04-03 11:46:21 +04:00
Anton Babushkin 367ce63b86 'signal_lost' flag added to manual_control_setpoint and rc_channels topics to indicate signal loss immediately 2014-04-03 11:45:57 +04:00
Anton Babushkin 4e6a5ed1e8 navigator: use vehicle_status flag to decide if global position is valid 2014-04-02 21:44:59 +04:00
Anton Babushkin e9f45a82b8 fw_att_pos_estimator: map_projection_XXX usage fixed, vehicle_global_position topic publication fixed 2014-04-02 17:20:37 +04:00
Anton Babushkin 5c53797c17 Merge branch 'master' into mpc_local_pos 2014-04-02 17:09:36 +04:00
Anton Babushkin 93617c4073 commander: set home position on arming only if at least 2 s from commander start spent 2014-04-02 17:09:18 +04:00
Anton Babushkin 553b122830 caommander: setting home position by command implemented 2014-04-02 16:53:22 +04:00
Anton Babushkin fc757f9492 mavlink: is_published() fix 2014-04-02 15:38:49 +04:00
Anton Babushkin b1d39e65a6 commander: position timeout increased to 30ms 2014-04-02 15:36:11 +04:00
Anton Babushkin 63cd319ff7 commander: set home position on arming 2014-04-02 11:57:41 +04:00
Anton Babushkin fdb17c9776 mc_pos_control: reproject local position setpoint on local reference updates 2014-04-02 11:31:30 +04:00
Lorenz Meier 0ed4dd6577 Fixed log format 2014-04-01 16:16:24 +02:00
Lorenz Meier 35b81c2f74 Merge branch 'master' of github.com:PX4/Firmware into paul_estimator_numeric 2014-03-29 12:21:34 +01:00
Anton Babushkin a991ebd8ca Merge branch 'master' into mpc_local_pos 2014-03-28 10:44:28 +04:00
Don Gagne f97263f5a0 Added comprehensive arming_state_transition unit test
Also converted full to C++ style. Also converted to new unit test code.
2014-03-27 13:07:27 -07:00
Don Gagne dcc11b8cab Update to convert to C++ style 2014-03-27 13:06:09 -07:00
Don Gagne b9a56fbeb9 Fixed bug with transition from in air restore to armed
Also added better debug output for invalid transitions
2014-03-27 13:05:51 -07:00
Don Gagne d5a7e7c52b Rewrote to provide better feedback
Also allows variables as well as static text for assert text in
ut_assert
2014-03-27 13:05:03 -07:00
Julian Oes 66527eea02 commander: workaround to prevent RC loss in HIL 2014-03-27 17:54:29 +01:00
Don Gagne 521539897e Simpler state transition code
Also fixed ARMING_STATE_ARMED_ERROR->ARMING_STATE_STANDBY_ERROR
transition.
2014-03-26 14:51:57 -07:00
Anton Babushkin 83da4ae02d 'vehicle_global_position' topic updated: removed baro_alt and XXX_valid flags. 2014-03-27 00:27:11 +04:00
Lorenz Meier 506c16f12a Bring fixed wing HIL back to normal mode, keep multicopter unchanged 2014-03-25 17:37:44 +01:00
Holger Steinhaus 409fa565f4 px4io: do not include failsafe condition into rc_lost flag 2014-03-25 17:12:27 +01:00
Lorenz Meier 2c2c4af599 mavlink / HIL: Split handling of actuator feedback between fixed wing and multicopters 2014-03-25 12:21:07 +01:00
Lorenz Meier 5053575e2f Merge branch 'master' of github.com:PX4/Firmware into hil_range_fix 2014-03-25 12:08:58 +01:00