Commit Graph

84 Commits

Author SHA1 Message Date
Anton Babushkin 83da4ae02d 'vehicle_global_position' topic updated: removed baro_alt and XXX_valid flags. 2014-03-27 00:27:11 +04:00
Anton Babushkin e2305d93bd position_estimator_inav: use home position as local projection reference 2014-03-24 13:44:42 +04:00
Anton Babushkin 69700d774c Merge branch 'master' into mpc_local_pos 2014-03-22 11:22:58 +04:00
Lorenz Meier 3270e2f428 Merge pull request #763 from PX4/beta_mavlink2
Mavlink multi-stream support
2014-03-21 18:14:08 +01:00
Anton Babushkin b2f8fcb9d9 position_estimator_inav: added NaN checks 2014-03-21 18:49:39 +04:00
Anton Babushkin 712c72d25b Optical flow fixes 2014-03-21 12:52:27 +04:00
Anton Babushkin 9b71e660ad Merge branch 'beta_mavlink2' into mpc_local_pos_mavlink 2014-03-19 20:01:01 +04:00
Anton Babushkin 068b7526b7 copyright and code style fixes 2014-03-18 00:10:38 +04:00
Anton Babushkin c266124099 vehicle_local_position: use double for ref_lat and ref_lon instead of int32, fix related apps 2014-03-17 23:58:00 +04:00
Anton Babushkin 22c8d91389 position_estimator_inav: mark local position as valid even if GPS not available (e.g. only FLOW) 2014-03-17 22:46:48 +04:00
Anton Babushkin 3d5f52678f Use updated map_projection_XXX functions in apps 2014-03-17 22:20:41 +04:00
Lorenz Meier 717e1bd374 Removed stupid sensor counter, replaced it with much more useful timestamps 2014-03-16 13:47:26 +01:00
Anton Babushkin 647142764f position_estimator_inav: hotfix, change lower dt limit from 5 ms to 2 ms 2014-03-09 22:08:28 +04:00
Anton Babushkin d11235585c position_estimator_inav: log writing on NaN estimate fixed 2014-03-01 22:56:02 +04:00
Anton Babushkin e06263f76f position_estimator_inav: failsafe against NaN estimate 2014-03-01 22:43:56 +04:00
Anton Babushkin d9031844da Unused includes removed 2014-02-18 00:13:55 +04:00
Anton Babushkin a9e5e2e31a position_estimator_inav: default parameters and min/max EPH/EPV updated 2014-02-10 08:54:48 +01:00
Anton Babushkin 7274c0ce30 Merge branch 'master' into beta 2014-01-30 23:07:28 +01:00
Lorenz Meier 8d79d91950 Revert "Merge pull request #620 from pigeonhunter/stack_sizes"
This reverts commit 3b31a6b1b9, reversing
changes made to 70afb3ca3b.
2014-01-30 21:54:29 +01:00
Anton Babushkin f64872b9b3 Merge branch 'master' into beta 2014-01-30 17:23:10 +01:00
Darryl Taylor 0cc311b872 Reduced stack size to 2568. Max stack usage reported as 2052 with MARG + GPS with 3d lock - no px4flow, but should be more than enough buffer to accomodate its addition. 2014-01-29 17:39:35 +08: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 58792c5ca6 Use double for lat/lon in vehicle_global_position topic, use filed names lat, lon, alt, vel_n, vel_e, vel_d for global positions 2014-01-24 00:06:10 +01:00
Anton Babushkin 93e096f63b position_estimator_inav: minor bug fixed, write debug log on crash 2014-01-22 16:17:56 +01:00
Anton Babushkin 7956c8b08e position_estimator_inav: default parameters updated 2014-01-20 18:35:06 +01:00
Anton Babushkin 7b7539fbbd Merge branch 'navigator_new' into navigator_new_vector, WIP 2013-12-28 10:04:13 +04:00
Julian Oes effa62937f Prevent some warnings for lat/lon double conversions 2013-12-27 11:14:08 +01:00
Anton Babushkin f36ffe0859 Partially merge branch 'inav_alt_gps' into vector_control2, only estimator part 2013-12-23 11:13:08 +04:00
Anton Babushkin 3c027a8e4d Various HIL-related fixes 2013-11-27 23:04:49 +04:00
Anton Babushkin 98ebcb626d position_estimator_inav: minor comments and code style fixes 2013-11-25 19:47:33 +04:00
Anton Babushkin 8c3e67993e position_estimator_inav: don’t use GPS vertical speed 2013-11-22 22:23:27 +04:00
Anton Babushkin c3944f49b1 position_estimator_inav: minor baro offset changes 2013-11-07 20:17:12 +04:00
Anton Babushkin d309d0203c Merge branch 'master' into inav_alt_gps. Use GPS for altitude estimation. 2013-10-27 22:03:07 +04:00
Anton Babushkin fe21bb7198 position_estimator_inav: surface offset estimation improved 2013-10-13 21:23:53 +02:00
Anton Babushkin 5d556f1850 position_estimator_inav: distance to surface estimation fixes 2013-10-13 19:43:17 +02:00
Anton Babushkin c0c366d6ee position_estimator_inav: estimate distance to bottom rate, increase time of position estimation on only accelerometer, reduce weight for GPS if flow available 2013-10-12 11:20:20 +02:00
Anton Babushkin 2b1a11b16d position_estimator_inav: bug fixed, allow to disable GPS by setting INAV_W_POS_GPS_P = 0 2013-10-11 20:36:40 +02:00
Anton Babushkin dc09182b95 Added "bottom distance" switch, multirotor_pos_control implemented: use bottom distance to surface to control altitde 2013-10-11 11:38:36 +02:00
Anton Babushkin 86c53bee43 position_estimator_inav: use independent estimate for distance to ground (sonar), WIP 2013-10-10 19:10:45 +02:00
Anton Babushkin b7d8d77c0f position_estimator_inav: if flow is inaccurate, but used for correction with less weight 2013-10-09 11:41:00 +02:00
Anton Babushkin 2fc011d20c Remove vehicle_local_position.ref_surface_timestamp field, don't sync baro_offset and local_pos.ref_alt instead 2013-10-09 11:05:22 +02:00
Anton Babushkin 9d1027162f position_estimator_inav: use flow even if it's not accurate if GPS is not available to prevent estimation suspending when no GPS available 2013-10-09 10:47:44 +02:00
Anton Babushkin c96de846b3 Added vehicle_local_position.ref_surface_timestamp to track surface level changes. Reference altitude updated continuosly when sonar available. 2013-10-08 21:18:17 +02:00
Anton Babushkin 52cf8836fe position_estimator_inav: avoid triggering land detector on altitude reference changes, don't reset altitude on arming if sonar is valid 2013-10-08 16:38:49 +02:00
Anton Babushkin 1da6565fc6 position_estimator_inav: code style fixed 2013-10-07 15:12:57 +02:00
Anton Babushkin bda03cadc3 Merge branch 'inav_fix' into inav_flow 2013-10-07 12:00:24 +02:00
Anton Babushkin c8c74ea776 position_estimator_inav: major optimization, poll only attitude topic, publish at 100 Hz 2013-10-07 11:59:23 +02:00
Anton Babushkin d005815c68 position_estimator_inav: major update, using optical flow for position estimation 2013-10-05 23:00:25 +02:00
Anton Babushkin 4124417934 position_estimator_inav: GPS topic timeout detection fixed, messages about GPS signal state in mavlink added 2013-09-22 16:53:48 +02:00
Anton Babushkin 8a9a230e0d position_estimator_inav: more compact messages to fit in mavlink packet 2013-09-22 12:39:51 +02:00