Commit Graph

2891 Commits

Author SHA1 Message Date
Lorenz Meier 57b8dee709 Bring back proper log conversion copy operation 2013-10-14 13:41:37 +02:00
Anton Babushkin 114b7b696d sdlog2: VER message added instead of FWRV 2013-10-14 11:14:56 +02:00
Anton Babushkin 717bcf4ed2 Merge branch 'master' into inav_sonar_indep 2013-10-13 21:31:47 +02:00
Anton Babushkin 9858ff0497 multirotor_pos_control: distance-based altitude hold rewritten 2013-10-13 21:25:08 +02:00
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
Lorenz Meier b3fb2bf850 Merge branch 'master' of github.com:PX4/Firmware into mixer_testing 2013-10-13 14:56:13 +02:00
Lorenz Meier 6baae41c5e Merge pull request #444 from PX4/multirotor_att_control_fix
multirotor_att_control: cleanup, some refactoring
2013-10-13 03:36:06 -07:00
Lorenz Meier 7b8b568605 Merge pull request #449 from PX4/sensors_fix
sensors: minor optimization, cleanup and refactoring
2013-10-13 03:21:53 -07:00
Lorenz Meier ec0b57076b Merge pull request #448 from PX4/mavlink_fix
mavlink optimization
2013-10-13 03:13:18 -07:00
Lorenz Meier 062ba0acab Merge pull request #453 from PX4/gcc_47
GCC 4.7.4 compatibility
2013-10-13 03:12:17 -07:00
Lorenz Meier db4ff7f080 Merge pull request #446 from PX4/commander_fixes
commander fixes
2013-10-13 03:10:23 -07:00
Lorenz Meier 1dc9569e31 Fixed mixer chunk load and line ending detection for good. 2013-10-13 11:44:26 +02:00
Lorenz Meier c5b890e87d Moved mixer file load / compression into mixer library. 2013-10-12 20:17:59 +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
Jean Cyr f1c399a60b Add support for 8 channel DSMX sattelite pairing 2013-10-12 01:14:03 -04: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
Julian Oes 2d23d5fd4e Merge remote-tracking branch 'px4/master' into pwm_ioctls
Conflicts:
	src/drivers/px4io/px4io.cpp
2013-10-11 14:05:11 +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
Julian Oes 3dc2bdfa22 Changed pwm_limit interface a bit 2013-10-11 10:19:50 +02:00
Julian Oes e2fef6b374 Use unsigned for channel counts 2013-10-11 10:16:45 +02:00
Lorenz Meier 44deeb85c0 We compile with GCC 4.7.4 2013-10-10 21:15:03 +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 aedb97f38e multirotor_pos_control: run mainloop at 100Hz 2013-10-10 12:35:05 +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
Julian Oes b25b9d37d5 Small function definition correction 2013-10-09 09:00:22 +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
Julian Oes 1b9e2af742 Moved PWM ramp to systemlib 2013-10-08 17:03:57 +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 b2555d70e3 sensors: minor optimization, cleanup and refactoring 2013-10-08 13:39:08 +02:00
Anton Babushkin d70d8ae68e mavlink, mavlink_onboard: bugfixes, code style fixed 2013-10-08 11:26:27 +02:00
Anton Babushkin 5e3bdd7789 mavlink_onboard: major optimization, cleanup and minor fixes, WIP 2013-10-08 09:38:04 +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
Anton Babushkin 3fd2048188 commander: remove duplicate publishing of vehicle_control_mode and actuator_armed topics, remove unused "counter" field from topics 2013-10-07 22:16:57 +02:00
Julian Oes 19879432ad Trying to get rid of magic PWM numbers 2013-10-07 18:03:05 +02:00
Julian Oes ea0aa49b54 pwm info provides more information, some fixes for setting rate/min/max/disarmed 2013-10-07 16:24:49 +02:00
Anton Babushkin 1da6565fc6 position_estimator_inav: code style fixed 2013-10-07 15:12:57 +02:00
Anton Babushkin 2fd8c6b958 multirotor_att_control: cleanup, some refactoring 2013-10-07 13:54:31 +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