Commit Graph

40641 Commits

Author SHA1 Message Date
CUAVcaijie
39c87f473a AP_Periph: add BARO_ENABLE option 2019-12-26 15:51:44 +11:00
CUAVcaijie
ccd54409f3 HAL_ChibiOS: Adding SPI devices for CUAV_GPS 2019-12-26 15:51:44 +11:00
CUAVcaijie
2df2e5c275 HAL_ChibiOS: Fix DMA of SPI1 TX on STM32F412 2019-12-26 15:50:18 +11:00
CUAVcaijie
8daa8f34c9 AP_Baro: added averaging of CAN baro output 2019-12-26 12:21:41 +11:00
Andrew Tridgell
4b4642dd4d HAL_ChibiOS: allow handling of much higher receiver baudrates with DMA
this uses two DMA RX bouncebuffers to minimise the time with DMA
disabled so that we can handle much higher baudrates
2019-12-26 10:42:48 +11:00
Andrew Tridgell
58292821b3 HAL_ChibiOS: fix DMA on UARTs for F303 2019-12-26 10:42:48 +11:00
Andrew Tridgell
652d137594 HAL_ChibiOS: fixed DMA channels for f3 USART2 2019-12-26 10:42:48 +11:00
Michael du Breuil
7d8005ef27 Plane: Update flaperons for all control modes
Fixes flaperons not working during takeoff, and is generally slightly
easier to reason about
2019-12-24 16:58:46 +11:00
Peter Barker
3ffdfc7302 autotest: correct parachute test 2019-12-24 15:27:39 +11:00
Andrew Tridgell
c6322c7c98 GCS_MAVLink: send abs throttle in VFR_HUD 2019-12-24 15:14:03 +11:00
Andrew Tridgell
6d4f4d7a3b Plane: allow negative VFR_HUD throttle 2019-12-24 15:14:03 +11:00
Peter Barker
12cccac361 Sub: let GCS base class handle proximity and rangefinder messages 2019-12-24 12:08:54 +11:00
Peter Barker
1db9201a90 Plane: let GCS base class handle proximity and rangefinder messages 2019-12-24 12:08:54 +11:00
Peter Barker
a56ab9136e Copter: let GCS base class handle proximity and rangefinder messages 2019-12-24 12:08:54 +11:00
Peter Barker
05562968e1 Rover: let GCS base class handle proximity and rangefinder messages 2019-12-24 12:08:54 +11:00
Peter Barker
01710c035e GCS_MAVLink: handle proximity and rangefinder messages 2019-12-24 12:08:54 +11:00
Peter Barker
708a6f99a6 SRV_Channel: remove default case in get_limit_pwm
All cases are currently handled, and this is something people should
probably think about if they're introducing another case!
2019-12-24 11:50:03 +11:00
Peter Barker
72e6446204 Copter: make requires_terrain a callback on the flightmode
This will prompt new modes to consider whether failsafe should be active
for terrain.
2019-12-24 09:46:19 +09:00
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