Commit Graph

18025 Commits

Author SHA1 Message Date
Randy Mackay 873d31915a Copter: always check GPS before arming in Loiter 2015-08-28 12:04:27 +09:00
Randy Mackay f5fa19371f Copter: add ACCEL_Z_FILT_HZ parameter description
Also fixed parameter links to ATC, BATT and MOT libraries
2015-08-28 12:04:25 +09:00
Randy Mackay f3590120a5 BattMonitor: fix parameter descriptions 2015-08-28 12:04:24 +09:00
fillycheezstake b618621303 Mount: fix for STORM32 serial ver 78e and higher
This fixes the structs to be compatible with the changes OlliW made to
the gimbal firmware.
http://www.olliw.eu/storm32bgc-wiki/Serial_Communication
2015-08-28 12:04:22 +09:00
Leonard Hall 9dfe30f514 Copter: increase default thrust expo to 0.65 2015-08-28 12:04:21 +09:00
Randy Mackay 13752b5821 Copter: fix Autotune param descriptions 2015-08-28 12:04:19 +09:00
Randy Mackay 247e11ab81 Copter: AUTOTUNE_MIN_D param to allow controlling minimum D 2015-08-28 12:04:17 +09:00
Randy Mackay 9cd5e4dd6b AC_WPNav: remove unused get_wp_radius 2015-08-28 12:04:16 +09:00
Randy Mackay 58774222c3 Copter: failsafe RTL vs LAND decision always based on 2m
Previously this decision was based on the WPNAV_RADIUS parameter which is unexpected (and undocumented) behaviour.  Better just to hard-code it to 2m and remove the dependency on this parameter.
2015-08-28 12:04:14 +09:00
squilter d00f9b61b4 GCS_MAVLink: make arguments mandatory for send_autopilot_version 2015-08-28 12:04:12 +09:00
squilter 5775455b68 Plane: define and send FIRMWARE_VERSION 2015-08-28 12:04:11 +09:00
Andrew Tridgell 57842b9268 Plane: prepare plane 3.4.0beta1 release 2015-08-28 12:04:09 +09:00
squilter 23a7db8ee8 Tracker: define and send FIRMWARE_VERSION 2015-08-28 12:04:08 +09:00
squilter 081694f557 Rover: define and send FIRMWARE_VERSION 2015-08-28 12:04:06 +09:00
squilter dd3df029ef Copter: define and send FIRMWARE_VERSION 2015-08-28 10:30:18 +09:00
squilter 8553301cdd GCS_MAVLink: send_autopilot_version accepts version 2015-08-28 10:27:00 +09:00
Randy Mackay 7299011510 GCS_MAVLink: version update after common.xml change 2015-08-28 10:26:57 +09:00
squilter de712714ef GCS_MAVLink: regenerate common 2015-08-28 10:26:55 +09:00
Randy Mackay 730e4908a9 GCS_MAVLink: rename FIRMWARE_VERSION_TYPE and fully qualify items 2015-08-28 10:26:52 +09:00
squilter f3f11a4e96 GCS_MAVLink: Add FIRMWARE_RELEASE_TYPE to common.xml 2015-08-28 10:26:49 +09:00
Andrew Tridgell e09d3a82fc PX4Firmware: submodule update 2015-08-28 10:26:25 +09:00
Tom Pittenger 04000faa5f AP_InertialSensor: correct USE param storage index
USE, USE2, USE3 have 20, 21, 21 but should be 20, 21, 22
2015-08-28 10:26:21 +09:00
Randy Mackay 70c7e93dd2 Copter: version to AC3.3-rc9 2015-08-19 20:45:15 +09:00
Randy Mackay 304fd8e4b3 Copter: AC3.3-rc9 release notes 2015-08-19 20:45:14 +09:00
Randy Mackay bf584af9b0 NavEKF: use maxf when retrieving vibration levels
This reduces the performance hit that was caused by multiple calls to get_vibration_levels
2015-08-19 20:45:13 +09:00
Randy Mackay f61c62b44a Math: maxf and minf functions 2015-08-19 20:45:12 +09:00
Randy Mackay 0ea47ea7b8 NavEKF: IMUSwitchState enum 2015-08-19 20:45:11 +09:00
Randy Mackay 32c7fe996a NavEKF: IMU ratio set to primary accel when neither IMU is used
This forces the EKF IMU ratio to indicate which IMU is used except that it will be "0" in the unlikely case that the third IMU is used
2015-08-19 20:45:10 +09:00
Paul Riseborough 77cac09bf6 AP_NavEKF: Add hysteresis to IMU switching logic 2015-08-19 20:45:09 +09:00
Paul Riseborough e4a4dc26c8 AP_NavEKF: Modify method used to check for vibration errors
This method checks for consistency between accelerometer readings and switches to the unit with the lowest vibration of the difference exceeds 0.3g
The threshold of 1.7 m/s/s corresponds to a maximum tilt error of 10 deg assuming one IMU is good, one is bad and the EKF is using the bad IMU.
2015-08-19 20:45:07 +09:00
Randy Mackay e2c8d6eb9d AHRS_NavEKF: integrate INS use_accel 2015-08-19 20:45:06 +09:00
Randy Mackay 437074a8fb AHRS_DCM: integrate INS use_accel 2015-08-19 20:45:05 +09:00
Randy Mackay 456bde4986 NavEKF: incorporate use_gyro and use_accel 2015-08-19 20:45:04 +09:00
Randy Mackay 1d752fc763 INS: add USE parameters 2015-08-19 20:45:03 +09:00
Randy Mackay 586d7399ee InertialSensor: add vibration monitoring of 2nd IMU 2015-08-19 20:45:02 +09:00
Tom Pittenger 0d13931df4 Tracker: moved gcs code to be more common 2015-08-19 20:45:01 +09:00
Tom Pittenger e7bd6a46ca Rover: queue MISSION_ITEM_REACHED
clean up unreachable code
2015-08-19 20:45:00 +09:00
Tom Pittenger 945639ac0f Copter: implement try send mission_item_reached
clean up unreachable code
2015-08-19 20:44:59 +09:00
Tom Pittenger 42061ee290 Plane: implement try send mission_item_reached
clean up unreachable code
2015-08-19 20:44:58 +09:00
Tom Pittenger 7b611f8e26 GCS_MAVLink: add support for try send mission_item_reached
also moved most of send_item_reached into common library
2015-08-19 20:44:57 +09:00
Tom Pittenger 9c75900746 Rover: bring rover mission callback inline with copter and plane 2015-08-19 20:44:56 +09:00
Brad Bosch 4af7e454df HAL_VRBrain: Rework of support for FLOW_CONTROL_AUTO from PX4 HAL 2015-08-19 20:44:54 +09:00
Brad Bosch d4c370ce6e HAL_PX4: Rework support for FLOW_CONTROL_AUTO.
Now instead of requiring the buffer to fill completely before we can
detect it is not draining, we use a time based mechanism to detect
when none of the first few bytes are transmitted after sitting in our
buffer a half second or more after flow control is enabled.  This
huristic is reliable only for the first several chracters because we
believe that the radio must still have plenty of room in it's own
buffers at that time even if it is not able to transmit them to the
other radio yet.  Note that the original algorithm made the same
assumption.

The new algorithm is especially helpful for cases where only keepalive
messages are transmitted before other packets can be requested by the
GCS.  In this situation, the original code required almost 2 minutes
to disable flow control and allow communication with the GCS.
2015-08-19 20:44:53 +09:00
Brad Bosch 7bae269931 GCS_MAVLink: Pause to allow serial port to drain.
This avoids a race between the UART and the auto flow control code.
2015-08-19 20:44:52 +09:00
Tom Pittenger 61ae42db40 Plane: post "Distance from LAND point" on every land
- waits until disarm after a land
2015-08-19 20:44:51 +09:00
Lucas De Marchi eedc631eca AP_Param: add missing header StorageManager.h 2015-08-19 20:44:50 +09:00
Stewart Loving-Gibbard 52a019c33a Plane: Fixing unambiguous spelling errors in Parameters.cpp file.
These are user-visible in Mission Planner and the like.
2015-08-19 20:44:49 +09:00
Lucas De Marchi eef41b88ed Tools: allow script to fixup a single file
Instead of always trying to fix the entire tree, accept paths in the
command line so it only fixes that paths. This allows to easily rebase a
branch after the header changes, without touching the rest of the tree.
2015-08-19 20:44:48 +09:00
Lucas De Marchi ef1ed5fcfe AP_HAL_AVR: standardize inclusion of libaries headers
It was not only standardized, but actually fixed since ".." would not
move to the libraries/ directory (and hence the include location was
actually wrong).
2015-08-19 20:44:47 +09:00
Lucas De Marchi 72391fddbe GCS_MAVLink: standardize inclusion of libaries headers
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:46 +09:00