Commit Graph

33230 Commits

Author SHA1 Message Date
Randy Mackay 4de971b879 AP_RangeFinder: fix benewake checksum check 2018-11-15 09:49:18 +09:00
Randy Mackay 8fdb67d955 DataFlash: log rangefinder status in RFND msg 2018-11-15 09:49:14 +09:00
Randy Mackay 54494a71e6 AP_RangeFinder: benewake returns at least 12m or 22m when out-of-range
value logged and shown to the user will be at least 12m for TFmini or 22m for TF02 which ensure the user won't see the range drop even if they have configured a very short useable distance
2018-11-15 09:49:11 +09:00
Randy Mackay bb61b7e5e9 AP_RangeFinder: benewake logic reordering
this should be a non-functional change
2018-11-15 09:47:57 +09:00
Randy Mackay 54717c4f53 AP_RangeFinder: benewake lidar returns max range + 1m when out-of-range
also returns out-of-range when signal is weak
2018-11-15 09:47:30 +09:00
Peter Barker 7a0b9632cd Copter: make mavlink rangefinder health bit depend just on data available
This means the sensor is healthy even if it is out of range.

This is a partial revert of commit 724f34c7e7 (diff-577a72d2550199fabbdfd77fa5890368R408)
2018-11-15 09:44:08 +09:00
Randy Mackay 296132b876 Copter: version to 3.6.1 2018-11-10 10:06:31 +09:00
Randy Mackay bf4c38333a Copter: 3.6.1 release notes 2018-11-10 10:06:06 +09:00
Randy Mackay 5575913b34 Copter: version to 3.6.1-rc1 2018-11-06 13:46:22 +09:00
Randy Mackay e5066a16e0 Copter: 3.6.1-rc1 release notes 2018-11-06 13:46:02 +09:00
Michael du Breuil 9134b44c2b Copter: Remove old parameter conversion that conflicts with newer code 2018-11-06 12:34:04 +09:00
Michael du Breuil 547c9f0bf4 Copter: Fix battery failsafe param conversion 2018-11-06 12:33:48 +09:00
Randy Mackay b579a36d8d AP_RangeFinder: Benewake driver discards distances over 327m 2018-11-06 12:32:11 +09:00
Peter Barker 46b035419e DataFlash: add sanity checks around EraseAll 2018-11-06 12:31:02 +09:00
Peter Barker c0ad7d83f5 Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set 2018-11-06 12:19:28 +09:00
Peter Barker 85b46ea103 GCS_MAVLink: allow vehicles to override VFR_HUD.alt 2018-11-06 12:19:28 +09:00
Andrew Tridgell d38f6c2824 Tools: added new bootloaders 2018-11-06 08:55:56 +11:00
Andrew Tridgell 0717dddc46 HAL_ChibiOS: bring copter stable up to date with hwdef.dat
this fixes GPIO numbering, fixes terrain on some boards and adds some
new boards
2018-11-05 19:36:40 +11:00
Andrew Tridgell d8fd590a3f AP_IOMCU: fixed a race in event trigger on startup
this fixes the issue with initial safety option state, and with
initial safety mask
2018-11-05 17:26:28 +09:00
Andrew Tridgell b55df3a8ee HAL_ChibiOS: ensure RC in channels are bounded 2018-11-05 17:24:19 +09:00
Andrew Tridgell e4a4828203 HAL_ChibiOS: fixed LED mapping for fmuv4 2018-10-29 14:07:30 +11:00
Nghia Nguyen f0a7df7cf9 AP_Rangefinder: Add support for Garmin LidarLite-V3HP 2018-10-27 11:18:00 +01:00
Randy Mackay 2eedcf5678 Copter: version to 3.6.0 2018-10-27 10:57:40 +09:00
Randy Mackay 57ea8c7b96 Copter: 3.6.0 release notes 2018-10-27 10:56:41 +09:00
Randy Mackay 9747a2ec47 Copter: flowhold descending bug fix 2018-10-27 10:54:47 +09:00
Randy Mackay 66ce71b55b Copter: fix flowhold logging format 2018-10-27 10:54:46 +09:00
Randy Mackay 01c48f6c76 Copter: flowhold formatting fixes 2018-10-27 10:54:45 +09:00
Randy Mackay 4eee1fc06a AC_Fence: get_polygon_points does not include return point 2018-10-26 15:21:24 +09:00
Randy Mackay 5082d43b0c AC_Avoid: constify a few local variables 2018-10-26 15:21:22 +09:00
Randy Mackay 55dff47d75 AC_Avoid: stop includes margin for intersection calc
the simpler stop feature (as opposed to slide) was not including the margin when looking for intersections with the boundary meaning it could slow too late
2018-10-26 15:21:18 +09:00
Randy Mackay 0e0472054a AP_Proximity: increase MAV driver timeout to 500ms
this comes after testing with ROS/mavros and discovering the update rate is only 4hz
2018-10-26 15:21:14 +09:00
Randy Mackay d9ed07919c AP_RangeFinder: check I2C dev during detect 2018-10-26 15:20:54 +09:00
JIMWAR bd353db8ab AC_Avoid: fix adjust_velocity_polygon
adjust_velocity_polygon function ignoring boundary[0]
2018-10-26 15:19:57 +09:00
Andrew Tridgell f4c4f061b8 AP_Notify: fixed PixracerLED on NuttX
led_dim must be a positive number, and is not related to the led off
value
2018-10-26 15:18:53 +09:00
Andrew Tridgell 114318a9e3 AP_HAL: fixed PX4 LED polarity 2018-10-26 15:18:53 +09:00
Andrew Tridgell 6df32d6851 AP_Notify: init gpio state for LEDs 2018-10-26 15:18:53 +09:00
Andrew Tridgell 694543e8b2 AP_Notify: fixed px4-v4 to use pixracer LED driver 2018-10-26 15:18:53 +09:00
Randy Mackay 6e8e3cdbb2 AP_HAL_ChibiOS: update kakutef7 hwdef
This makes the kakutef7 the same as master commit bb99165
2018-10-26 16:16:36 +10:00
Randy Mackay 014022de03 Copter: version to 3.6.0-rc12 2018-10-05 10:31:07 +09:00
Randy Mackay 5f62be9399 Copter: 3.6.0-rc12 release notes 2018-10-05 10:30:45 +09:00
Randy Mackay e8e82e99d3 AP_HAL_ChibiOS: fix safety switch option handling 2018-10-05 10:25:11 +09:00
Andrew Tridgell 4a1348a432 HAL_ChibiOS: fixed a race in DShot code
this fixes a problem found by Daniel Met with the copter 3.6 beta
release
2018-10-05 10:24:59 +09:00
Michael du Breuil 62f997d73c AP_AHRS: Internalize EKF getLLH altitude management 2018-10-05 10:23:53 +09:00
Michael du Breuil 294737abc8 AP_NavEKF3: Fix roundoff, and missing offset handling of getLLH 2018-10-05 10:23:50 +09:00
Michael du Breuil 85e3aea8b7 AP_NavEKF2: Fix roundoff, and missing offset handling of getLLH 2018-10-05 10:23:48 +09:00
Randy Mackay 18ad801366 Copter: version to 3.6.0-rc11 2018-10-01 14:35:00 +09:00
Randy Mackay 3159be884d Copter: 3.6.0-rc11 release notes 2018-10-01 14:33:55 +09:00
Andrew Tridgell 1fd5017fab AP_Compass: use rotation_equal() from AP_Compass 2018-10-01 14:29:08 +09:00
Andrew Tridgell e90e89b687 AP_Math: added rotation_equal() 2018-10-01 14:29:05 +09:00
Andrew Tridgell 2ad2bb43f8 AP_Compass: fixed handling of duplication rotations
we have some rotations that are duplicated, such as ROLL_180_YAW_90
and PITCH_180_YAW_270. This copes with those in the auto-orientation
code
2018-10-01 14:29:02 +09:00