Commit Graph

18304 Commits

Author SHA1 Message Date
Andrew Tridgell
a0ed658fcc HAL_ChibiOS: added palReadLineMode() function
used to change and restore line modes
2018-11-16 08:30:40 +11:00
Andrew Tridgell
b4c551b56c AP_RCProtocol: expand DSM test to 8 channels 2018-11-15 19:54:36 +11:00
Andrew Tridgell
da0301c208 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 19:54:36 +11:00
Andrew Tridgell
a4c532edff AP_HAL: fixed typo in fmax macro 2018-11-15 14:39:11 +11:00
Kristian Klausen
d7f529d3c6 AP_HAL_SITL: Use double point precision when converting langitudes and longitudes from degrees to radians.
See #9536
2018-11-15 11:22:56 +11:00
Randy Mackay
e9c1abfc3c AP_RangeFinder: fix benewake checksum check 2018-11-15 09:18:45 +09:00
Randy Mackay
3cc84173e3 DataFlash: log rangefinder status in RFND msg 2018-11-15 09:18:45 +09:00
Randy Mackay
123e10c058 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:18:45 +09:00
Randy Mackay
e702ca7202 AP_Arming: resolve compiler warning 2018-11-14 20:40:46 +09:00
Andrew Tridgell
85243ad522 HAL_ChibiOS: enable support for half-duplex uart config 2018-11-14 19:05:09 +11:00
Andrew Tridgell
58ed5a123c AP_HAL: added HalfDuplex UART option 2018-11-14 19:05:09 +11:00
Andrew Tridgell
20b2d05dfd AP_SerialManager: added docs for HalfDuplex option 2018-11-14 19:05:09 +11:00
Andrew Tridgell
b346d82f96 HAL_ChibiOS: allow frsky invert for p3pro and mindpx-v2 2018-11-14 19:05:09 +11:00
Andrew Tridgell
f0c13d4089 HAL_ChibiOS: allow user control of frsky inversion on Pixracer 2018-11-14 19:05:09 +11:00
Andrew Tridgell
acf03980ca HAL_ChibiOS: added UART inversion options
support GPIO pins or STM32F7
2018-11-14 19:05:09 +11:00
Andrew Tridgell
bd117f1548 HAL_ChibiOS: define pins for inverting uarts 2018-11-14 19:05:09 +11:00
Andrew Tridgell
37fc6e8b1c AP_HAL: added inversion options 2018-11-14 19:05:09 +11:00
Andrew Tridgell
ac3b0a98ab AP_SerialManager: added options for each uart
used to control inversion of uarts
2018-11-14 19:05:09 +11:00
Michael du Breuil
2afe72d79f AP_Scripting: Swap reschedule to be callback, delay 2018-11-14 01:41:35 +00:00
Michael du Breuil
ecb1a433b1 AP_Scripting: Add more runtime sanity checks 2018-11-14 01:41:35 +00:00
Michael du Breuil
40d5e233d4 AP_Scripting: Autostart all scripts in a given folder 2018-11-14 01:41:35 +00:00
Michael du Breuil
19a8c5a6ed AP_Scripting: Run multiple scripts at once 2018-11-14 01:41:35 +00:00
Michael du Breuil
b0a84ab7cf AP_Scripting: Enforce a time limit for a script 2018-11-14 01:41:35 +00:00
Andrew Tridgell
d824cf0a40 HAL_ChibiOS: default the battery2 pins correctly for CubeBlack 2018-11-13 14:33:17 +11:00
Peter Barker
e5fa728a28 AP_OpticalFlow: fix example for not taking ahrs in constructor 2018-11-13 10:40:23 +11:00
Peter Barker
3eee4e917a DataFlash: OpticalFlow takes care of its own logging 2018-11-13 10:40:23 +11:00
Peter Barker
ac83765487 OpticalFlow: take care of own logging 2018-11-13 10:40:23 +11:00
Peter Barker
e88358ccc6 AP_OpticalFlow: use AHRS singleton 2018-11-13 10:40:23 +11:00
Peter Barker
38fdcb02a4 GCS_MAVLINK: move sending of optical flow status up to base class 2018-11-13 10:40:23 +11:00
Peter Barker
ebf038eb57 AP_OpticalFlow: add singleton 2018-11-13 10:40:23 +11:00
Michael du Breuil
e56f12b68e AP_Arming: Add servo voltage check, paramertise the Vcc check 2018-11-12 23:29:04 +00:00
Michael du Breuil
6a41f0c86a AP_BoardConfig: Add minimum board and servo voltage parameters 2018-11-12 23:29:04 +00:00
Michael du Breuil
be8d4e6c9d AP_HAL_ChibiOS: Assume that IOMCU implies servo voltage monitoring 2018-11-12 23:29:04 +00:00
Michael du Breuil
9a9e715af8 AP_HAL: Define HAL_HAVE_SERVO_VOLTAGE 2018-11-12 23:29:04 +00:00
Michael du Breuil
a5115930dd AP_HAL_ChibiOS: Fix board voltage checks being disabled 2018-11-12 23:29:04 +00:00
Andrew Tridgell
33b26da2eb AP_AHRS: small cleanups
always pass the pitch trim, and removed unusued variables
2018-11-12 17:05:04 +11:00
IamPete1
e1cdf9fe0a AP_AHRS: add trimed view 2018-11-12 17:05:04 +11:00
Randy Mackay
0d9c1847df AP_TempCalibration: fix parameter descriptions 2018-11-12 11:17:39 +09:00
auturgy
d2cb4db191 AP_OpticalFlow: add defined(HAL_HAVE_PIXARTFLOW_SPI)
This addition will build in support for the Pixart pmw3901 if it is defined in the hwdef.dat for a board
2018-11-12 06:35:59 +11:00
Andrew Tridgell
8f709b7a34 AP_Mount: fixed build warning 2018-11-11 07:08:59 +11:00
Andrew Tridgell
f48c3da497 HAL_ChibiOS: fixed undefine typo 2018-11-11 07:07:52 +11:00
vierfuffzig
f8d43bc96b HAL_ChibiOs: add default support for board versions with ICM20602 2018-11-11 07:07:52 +11:00
hoangthien94
0d964a5502 AP_ADSB: Fix error snprintf output truncated
AP_ADSB: Change octal squawk code mask to 0x1FFF
2018-11-10 12:11:28 +00:00
Andrew Tridgell
ac920633af AP_LandingGear: use SERVO_MIN/MAX/REVERSED for landing gear 2018-11-10 21:24:19 +11:00
Andrew Tridgell
486ecd6148 AP_LandingGear: added height based triggering
very useful for manual takeoffs and landings
2018-11-10 21:24:19 +11:00
Randy Mackay
35be68348d AP_RangeFinder: benewake logic reordering
this should be a non-functional change
2018-11-10 12:20:27 +09:00
Randy Mackay
a09cd8411d AP_RangeFinder: benewake lidar returns max range + 1m when out-of-range
also returns out-of-range when signal is weak
2018-11-10 12:20:27 +09:00
Andrew Tridgell
24ba876e88 HAL_ChibiOS: don't use STDOUT_SERIAL on mindpx-v2 or cube-red
better to use USB, giving us one more uart
2018-11-10 14:12:42 +11:00
auturgy
575d03796c AP_HAL_ChibiOS: fix typo in fmuv5 hwdef [NFC]
header comment fixed from fmuv3 to fmuv5
2018-11-09 18:58:27 +09:00
Andrew Tridgell
2bab144eca AP_LandingGear: make singleton a pointer
this allows common code for rover and sub
2018-11-09 14:35:14 +11:00