Commit Graph

40623 Commits

Author SHA1 Message Date
Michael du Breuil 8bd4f2b097 AP_RangeFinder: Allow the VL53L1X to be put into short range mode 2019-12-24 11:40:47 +11:00
Michael du Breuil 224ea744e3 AP_Rangefinder: Reset the VL53L1X before setup
A number of the config steps make the assumption they are running from
the sensors default power on state. If you do a soft reset of the
vehicle without killing power to the sensor this means the second time
you configure the sensor you will start from a state which didn't match
the base assumptions and can lead to the sensor preforming signficantly
differently then it was intended to. This issues a soft reset, and waits
for it to reboot before proceeding with configuration. If it's a
watchdog reset we don't want to spend long enough to have ensured the
sensor reset, so we say the sensor setup completely failed and don't use
it, as not using it will be less erroneous then using a misconfigured
sensor.
2019-12-24 11:40:47 +11:00
Andrew Tridgell 7b4b88d568 AP_Declination: re-generate mag tables
max interpolate error between -60 and 60 latitude is 13.86 mGauss
2019-12-24 11:33:10 +11:00
Andrew Tridgell 79bbd3ce9f AP_Declination: update generate script
added ability to display max error
2019-12-24 11:33:10 +11:00
Peter Hall 956c3f29a3 AP_BLHeli: allow connection with reversable ESCs 2019-12-24 10:50:16 +11:00
Randy Mackay 5e13fc1e0f Copter: 4.0.0-rc5 release notes 2019-12-23 22:52:04 +09:00
Andrew Tridgell 6eb86c6cdb HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
these do not work, possibly a datasheet bug
2019-12-23 21:46:57 +11:00
Andrew Tridgell c8c6c80aef HAL_ChibiOS: switch MatekF765 to timer 12
fixes PWM 5 and 6
2019-12-23 21:46:57 +11:00
Andrew Tridgell 4a54aa92c6 ChibiOS: enable timers 12, 13 and 14 for system timer 2019-12-23 21:46:57 +11:00
Andrew Tridgell a06da57f3e waf: fixed aligned size of bootloader in ROMFS 2019-12-23 21:46:33 +11:00
Andrew Tridgell 4774c78a12 Plane: update release notes for 4.0.2beta3 2019-12-23 20:26:43 +11:00
Randy Mackay f56a426193 Copter: gcs failsafe disabled by default 2019-12-23 14:35:15 +09:00
Peter Barker 19c02471cf Tools: autotest: add test for NMEA output 2019-12-23 11:19:59 +11:00
Andrew Tridgell dfaf134338 mavlink: merge latest changes from Amilcar 2019-12-23 10:31:15 +11:00
Andrew Tridgell e52a3b9978 AP_InertialSensor: default fast sampling on
if we have a first IMU capable of fast sampling then we want it
enabled by default
2019-12-23 09:55:07 +11:00
Andrew Tridgell ccd1ce406c HAL_ChibiOS: scale uart rx buffer size with baudrate
this ensures we have enough buffer space for a RTK GPS, as well as for
high speed comms with a companion computer
2019-12-23 09:54:36 +11:00
Oliver Walters 9229efbf81 AP_PiccoloCAN: Always use bulk ESC commands 2019-12-22 09:48:40 +11:00
Oliver Walters fadc968b38 AP_PiccoloCAN: Improve arm/disarm ESC behaviour
- When disarmed, broadcast a "software disable" command to all ESC on the bus
- This means that ESC will reject any PWM commands
- When armed, ensure each ESC is enabled before sending PWM commands
2019-12-22 09:48:40 +11:00
Oliver Walters 9a7b78d49d waf: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Oliver Walters 431b07bba0 SRV_Channel: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Oliver Walters 5fa54f3986 GCS_MAVLink: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Oliver Walters 7c3391d0d8 AP_BoardConfig: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Oliver Walters 2e0d2e2db0 AP_Arming: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Andrew Tridgell 9821d52b72 AP_PiccoloCAN: added selective build of PiccoloCAN 2019-12-22 09:48:40 +11:00
Oliver Walters ace0006a4e AP_PiccoloCAN: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Andrew Tridgell 1248519b11 HAL_ChibiOS: account for empty uarts in uart count
this fixes uart count on MatekF405-Wing
2019-12-22 08:27:17 +11:00
Andrew Tridgell 750718bdd3 RC_Channel: simplify channel check in get_pwm() 2019-12-20 19:51:46 -07:00
Andrew Tridgell b69afff6a7 AP_Scripting: increase heap size (again) 2019-12-20 19:51:46 -07:00
Andrew Tridgell 07415d06ab AP_Scripting: added RCIN example script 2019-12-20 19:51:46 -07:00
Andrew Tridgell e86c6b047a AP_Scripting: regen bindings for Lua 2019-12-20 19:51:46 -07:00
Andrew Tridgell 32215be29f AP_Scripting: added rc input bindings 2019-12-20 19:51:46 -07:00
Andrew Tridgell dfd7b022fd RC_Channel: added get_pwm() function for Lua 2019-12-20 19:51:46 -07:00
Pierre Kancir d332773689 AP_Compass: add register to checked ones and remove single-use goto
Also fix comment on TMRC register setting
2019-12-21 09:07:20 +11:00
Pierre Kancir d6563bff7d AP_Compass: probe for RM3100 2019-12-21 09:07:20 +11:00
Andrew Tridgell 6f6fbb5b48 HAL_ChibiOS: make pwm pin pulldown 2019-12-20 16:50:48 +11:00
Andrew Tridgell d249f870b9 AP_Periph: added HARDPOINT_RATE
and send highest pwm from last sample
2019-12-20 16:50:48 +11:00
Andrew Tridgell 41b49768b8 Tools: added f103-Trigger bootloader 2019-12-20 16:50:48 +11:00
Andrew Tridgell 9ed2f1d5e2 AP_Periph: support a PWM -> UAVCAN Hardpoint adapter
capture PWM input and map onto a hardpoint command
2019-12-20 16:50:48 +11:00
Andrew Tridgell f732a482fe HAL_ChibiOS: support wider range of clock frequencies 2019-12-20 16:50:48 +11:00
Andrew Tridgell cfed364dd0 AP_ROMFS: fixed build warning 2019-12-20 16:50:48 +11:00
Andrew Tridgell a9946b41e9 HAL_ChibiOS: added f103-Trigger board 2019-12-20 16:50:48 +11:00
Andrew Tridgell a87e3e41f0 HAL_ChibiOS: make Pixhawk4 GPS2 connection clearer 2019-12-20 12:34:26 +11:00
Randy Mackay 4f7be08442 Copter: 4.0.0-rc4 release notes 2019-12-20 09:29:30 +09:00
Michael du Breuil cebe4eefa5 Tools: Remove gcc 4.9 from CI prereqs 2019-12-20 11:03:31 +11:00
Michael du Breuil 1a2dba1ee1 Travis: Remove unused gcc 4.9 dep 2019-12-20 11:03:31 +11:00
Andrew Tridgell f42c4e9ce1 Sub: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell 0e79044285 Plane: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell d9a255afc3 Copter: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell 18bfd45efb Rover: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Andrew Tridgell 69ea4882d2 Tracker: fixed range check for RC channel 2019-12-20 10:55:14 +11:00