Commit Graph

4802 Commits

Author SHA1 Message Date
Anton Babushkin fe21bb7198 position_estimator_inav: surface offset estimation improved 2013-10-13 21:23:53 +02:00
Anton Babushkin 419cb4bc80 sdlog2: DIST (distance to surface) message added 2013-10-13 19:45:04 +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 74af8d2c45 multirotor_pos_control: reset distance z setpoint when distance_bottom switch switched on 2013-10-11 16:48:52 +02:00
Anton Babushkin c314f31068 multirotor_pos_control: update altitude setpoint if reference altitude changed 2013-10-11 11:58:21 +02:00
Anton Babushkin fbf4b6462d Merge branch 'master' into inav_sonar_indep 2013-10-11 11:50: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
Lorenz Meier 1306c9de7b Output improvements 2013-10-11 09:28:44 +02:00
Lorenz Meier d04321bcf8 Hotfix: Typo 2013-10-11 09:14:57 +02:00
Lorenz Meier d144213527 Added non-binary number between 8 and 16 2013-10-11 09:13:54 +02:00
Lorenz Meier 73f507daa6 Make tests file complete up to 64 byte shifts and 1.5 K chunks 2013-10-11 09:12:30 +02:00
Lorenz Meier 260ab5597a Merge branch 'sdtest' 2013-10-11 08:07:59 +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
Lorenz Meier 0cb8e782b0 Merge pull request #447 from PX4/hil_usb_only
HIL and fixed wing fixes - gives perfect results in simulation
2013-10-10 09:01:11 -07:00
Anton Babushkin aedb97f38e multirotor_pos_control: run mainloop at 100Hz 2013-10-10 12:35:05 +02:00
Lorenz Meier 6745a91071 Added alignment attribute 2013-10-10 08:42:54 +02:00
Lorenz Meier 6ffa2955b9 Typo in debug output 2013-10-10 08:37:24 +02:00
Lorenz Meier e0e708241b More testing output 2013-10-10 08:34:08 +02:00
Lorenz Meier 8407677f20 Updated error message 2013-10-10 00:15:39 +02:00
Lorenz Meier 21dcdf11cf WIP, typo fix 2013-10-10 00:14:03 +02:00
Lorenz Meier 13b07efc49 added hw test, added better io debugging 2013-10-10 00:12:39 +02:00
Lorenz Meier d8396ca4b3 Merge branch 'sdtest' into hil_usb_only 2013-10-10 00:09:35 +02:00
Lorenz Meier 1ca718b57f Slight fix to test, but still fails validating written data after non-aligned writes 2013-10-10 00:03:57 +02:00
Lorenz Meier b8ccf67e8c Merge branch 'sdtest' of github.com:PX4/Firmware into hil_usb_only 2013-10-09 22:53:25 +02:00
Lorenz Meier ed00567400 Extended file test for alignment 2013-10-09 22:23:10 +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
Lorenz Meier d63ad0fb81 Added debug output printing capabilities for IOv2 2013-10-09 09:26:18 +02:00
Anton Babushkin e4f7767e81 multirotor_pos_control: debug log messages removed 2013-10-08 21:19:14 +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 ff92770305 multirotor_pos_control: track reference position even if not active to handle reference changes properly 2013-10-08 19:27:20 +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
Lorenz Meier a3bdf536e5 Dynamic integral resets for straight and circle mode, announcing turn radius now 2013-10-08 09:17:58 +02:00
Lorenz Meier d59cdf6fcc Added support for dynamic turn radii 2013-10-08 09:15:40 +02:00
Lorenz Meier 5bc7d7c00f Fixed turn radius return value 2013-10-08 09:13:41 +02:00
Lorenz Meier 69fda8a059 Added useful default gains 2013-10-08 09:12:03 +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 537484f60d Revert "sensors: slow down updates rate to 200Hz to free some CPU time"
This reverts commit 81a4df0953.
2013-10-07 11:59:54 +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 73bf8af2b3 Merge branch 'master' into inav_fix 2013-10-07 07:48:25 +02:00
Lorenz Meier 55f7c561ef Merge pull request #442 from PX4/px4io_rate_fix
px4io: make "too high rate" warning consistent with real behavor
2013-10-06 14:19:17 -07:00
Anton Babushkin 378041ad31 px4io: make "too high rate" warning consistent with real behavor 2013-10-06 23:09:55 +02:00
Lorenz Meier 81e9c06129 Robustified flight close to waypoints 2013-10-06 21:04:59 +02:00
Lorenz Meier d1871bd7bb State machine fixes for HIL 2013-10-06 14:18:28 +02:00
Lorenz Meier 90c4664dce Merged status changes 2013-10-06 14:17:37 +02:00
Anton Babushkin 81a4df0953 sensors: slow down updates rate to 200Hz to free some CPU time 2013-10-06 08:44:30 +02:00