Commit Graph

7023 Commits

Author SHA1 Message Date
Andrew Tridgell ea5279389f uORB: added an ORB topic for system_power
holds power supply state and 5V rail voltage on FMUv2
2014-04-05 12:10:47 +02:00
Andrew Tridgell ec2197fd1b uploader: ignore bad character encodings for older bootloaders
this prevents the uploader from throwing an exception with older
bootloaders
2014-04-05 12:07:27 +02:00
Lorenz Meier 3b5e6f9833 sensors and px4io driver: Guard against failsafe trigger for inverted remotes 2014-04-05 11:28:07 +02:00
Lorenz Meier ce50429769 Merged SBUS minimal changes 2014-04-05 11:17:05 +02:00
Lorenz Meier 73d04f7a37 px4io driver: Only publish RC signal if it was at least once valid. 2014-04-05 11:15:22 +02:00
Lorenz Meier 1eb0b19409 Merged minimal S.BUS failsafe changes 2014-04-05 11:14:19 +02:00
Lorenz Meier 1d0b2b4aa8 Merge branch 'sbus_failsafe' into failsafe_cleanup 2014-04-05 11:11:06 +02:00
Lorenz Meier 3e4841b6fe px4io: Guard against the RC failsafe value of channel 5 causing a manual override action if set to manual in failsafe 2014-04-05 11:10:41 +02:00
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
Holger Steinhaus 5e0d687b56 px4io driver: publish input_rc even if RC connection has been lost 2014-04-05 11:05:07 +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 64ffafb48e Only publish RC inputs if we have seen some valid inputs at some point 2014-04-05 10:28:01 +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 2aa9e3bd78 Merge pull request #796 from PX4/rc_timeout_fix
Bump RC timeout for all cases to half a second
2014-04-04 09:26:08 -07: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
Lorenz Meier 0205eebaa6 Merge pull request #788 from PX4/mavlink_published_fix
mavlink: is_published() fix
2014-04-02 13:44:50 +02: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
Thomas Gubler f6665ed3c6 Merge pull request #787 from PX4/estimator_fix
Fixed log format
2014-04-01 16:21:04 +02:00
Lorenz Meier 0ed4dd6577 Fixed log format 2014-04-01 16:16:24 +02:00