Andrew Tridgell
5cac150a91
HAL_ChibiOS: fixed safety switch and LEDs on PH4-mini
...
fixes #10127
2018-12-31 08:14:10 +11:00
Andrew Tridgell
fe0030947e
HAL_ChibiOS: detect stuck I2C bus and clear with SCL
...
This detects the I2C bus becoming stuck with SDA low after a timeout
and clears the bus by toggling SCL. Many thanks to @jhw84 for the
suggestion
2018-12-14 16:26:53 +11:00
Andrew Tridgell
067de3849c
HAL_ChibiOS: added palReadLineMode() function
...
used to change and restore line modes
2018-12-14 16:26:50 +11:00
Andrew Tridgell
645629baa2
AP_InertialSensor: fixed orientation of 2nd OmnibusF7V2 IMU
2018-12-12 16:28:42 +11:00
Andrew Tridgell
7e37f2b638
Plane: prepare for 3.9.4 release
2018-12-10 07:48:04 +11:00
Andrew Tridgell
bbcc458c4a
Plane: updated release notes
2018-12-10 07:47:50 +11:00
Andrew Tridgell
531911b7cc
Plane: prepare for release of 3.9.4beta1
2018-12-09 07:44:26 +11:00
Andrew Tridgell
0d3fa7e7a7
Plane: updated release notes for 3.9.4beta1
2018-12-09 07:43:42 +11:00
Andrew Tridgell
80b9cf09de
HAL_ChibiOS: setup PH4 for right voltage scaling
2018-12-09 07:42:59 +11:00
pierre-louis.k
a23c174e24
AP_RangeFinder: Remove range enforcement on out of range
2018-12-09 07:32:49 +11:00
pierre-louis.k
5e328e6276
AP_RangeFinder: Rework function structure in TeraRanger driver
2018-12-09 07:32:46 +11:00
pierre-louis.k
8198235af4
AP_RangeFinder: Rename function in TeraRanger driver
2018-12-09 07:32:44 +11:00
pierre-louis.k
4769055c4a
AP_RangeFinder: Give back semaphore on whoami error
2018-12-09 07:32:42 +11:00
pierre-louis.k
92791821c1
AP_RangeFinder: Clean TeraRanger driver
2018-12-09 07:32:39 +11:00
pierre-louis.k
cfd13d4e83
AP_RangeFinder: Add error codes rejection for TeraRanger sensors
2018-12-09 07:32:36 +11:00
Nghia Nguyen
21782835c4
AP_Rangefinder: Add support for Garmin LidarLite-V3HP
2018-12-09 07:31:44 +11:00
Randy Mackay
f408adf696
AP_RangeFinder: check I2C dev during detect
2018-12-09 07:31:32 +11:00
Randy Mackay
6699a44b1b
AP_RangeFinder: benewake tfmini always provide cm distances
...
a misunderstanding of the datasheet led to the mistaken idea that while in short-range-mode the distances were returned in millimeters
2018-12-09 07:30:46 +11:00
Randy Mackay
dfe32e7496
RangeFinder: benewake buffer uses uint8_t
2018-12-09 07:30:44 +11:00
Andrew Tridgell
bbfe147d50
HAL_ChibiOS: use ChibiOS IO firmware for Pixhawk4
2018-11-28 14:49:11 +11:00
Andrew Tridgell
6f34350249
Tools: added ChibiOS IO firmware for Pixhawk4
2018-11-28 14:49:11 +11:00
Andrew Tridgell
50ad91f00f
HAL_ChibiOS: allow ROMFS to override a file
...
this allows a hwdef.dat with an include to change an embedded file
specified in the include
2018-11-28 09:28:54 +11:00
Randy Mackay
8969926765
AP_RangeFinder: fix benewake checksum check
2018-11-15 17:20:40 +11:00
Randy Mackay
bd96fe6f33
DataFlash: log rangefinder status in RFND msg
2018-11-15 17:20:37 +11:00
Randy Mackay
07bbf75a8b
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 17:20:30 +11:00
Randy Mackay
16c4776475
AP_RangeFinder: benewake logic reordering
...
this should be a non-functional change
2018-11-15 17:20:27 +11:00
Randy Mackay
89f485f32e
AP_RangeFinder: benewake lidar returns max range + 1m when out-of-range
...
also returns out-of-range when signal is weak
2018-11-15 17:20:23 +11:00
Andrew Tridgell
ce1b0fe533
AP_RPM: set pin to input before attaching interrupt
...
this fixes input on AUX6 on CubeBlack
2018-11-15 17:19:50 +11:00
Andrew Tridgell
0669619cea
AP_RCProtocol: fixed DSM parser for 8 channels
...
this ensures we remember channels from the previous frame, avoiding a
bug with more than 7 channels
2018-11-15 17:19:43 +11:00
Andrew Tridgell
7c7c5038fe
Plane: prepare for 3.9.3 release
2018-11-10 14:11:40 +11:00
Andrew Tridgell
b53dd8d68e
Plane: update release notes for 3.9.3
2018-11-10 14:10:55 +11:00
Randy Mackay
9485ab8eb8
AP_RangeFinder: Benewake driver discards distances over 327m
2018-11-10 14:04:07 +11:00
Peter Barker
c16a810e89
DataFlash: add sanity checks around EraseAll
2018-11-10 14:04:01 +11:00
Andrew Tridgell
40e2238936
Plane: prepare for 3.9.3beta1
2018-11-06 09:14:36 +11:00
Andrew Tridgell
63ac6b2fe7
Plane: updated release notes for 3.9.3beta1
2018-11-06 09:14:02 +11:00
Andrew Tridgell
1b4d680749
AP_BoardConfig: updated BRD_PWM_COUNT docs
...
This reflects the use of this parameter under ChibiOS
2018-11-06 09:07:53 +11:00
Andrew Tridgell
32688dd2f0
Tools: added new bootloaders
2018-11-06 08:55:14 +11:00
Andrew Tridgell
633ba4ef20
HAL_ChibiOS: updated to latest hw definitions from master
2018-11-06 08:44:07 +11:00
Andrew Tridgell
9f8ec3849c
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-03 17:30:22 +11:00
Andrew Tridgell
2a743df9f1
HAL_ChibiOS: ensure RC in channels are bounded
2018-11-02 22:51:08 +11:00
Andrew Tridgell
1ed8e4fd2b
Plane: ensure speed scaling covers full aircraft speed range
...
this is important for very fast or very slow aircraft
2018-11-02 15:31:21 +11:00
Andrew Tridgell
bcd2d3805d
Plane: small update to failsafe documentation
2018-10-18 09:13:33 +11:00
Andrew Tridgell
c143f4ad82
waf: omit bootloader for px4-v2 build
...
This saves 8k of flash, and allows the plane stable release for older
Pixhawk1 boards to build
2018-10-12 12:11:37 +11:00
Andrew Tridgell
6ca8acd8a3
Plane: prepare for 3.9.2 release
2018-10-10 13:12:22 +11:00
Andrew Tridgell
c005a594c1
Plane: update release notes for 3.9.2
2018-10-10 13:11:25 +11:00
Andrew Tridgell
0bb1821e8d
AP_Notify: fixed PixracerLED on NuttX
...
led_dim must be a positive number, and is not related to the led off
value
2018-10-10 12:55:45 +11:00
Andrew Tridgell
5e3c0964eb
AP_HAL: fixed PX4 LED polarity
2018-10-10 12:55:41 +11:00
Andrew Tridgell
39e1b3b89f
AP_Notify: init gpio state for LEDs
2018-10-10 12:55:39 +11:00
Andrew Tridgell
0f949ba8b2
AP_Notify: fixed px4-v4 to use pixracer LED driver
2018-10-10 12:55:35 +11:00
Andrew Tridgell
ea52df3da4
HAL_ChibiOS: fixed LED mapping for fmuv4
2018-10-10 12:55:29 +11:00