Andy Piper
debc13965a
AP_Scheduler: add common tasks from AP_Vehicle and manage them
5 years ago
Andy Piper
c16c60a761
AP_Arming: add camera arming checks
5 years ago
Andy Piper
e166e90c1d
AP_RCMapper: add singleton
5 years ago
Andy Piper
a09c18386e
AP_OSD: allow osd to be disabled
5 years ago
Andy Piper
3cba76123b
RC_Channel: add support for RunCam camera control
...
make read_3pos_switch and enum public
5 years ago
Andy Piper
0eddc8b589
AP_Camera: implementation of the RunCam device protocol for RC camera control
...
Allows control of 2-key and 5-key OSD menus and recording start/stop
OSD is disabled while in the RunCam menu but reinstated on exit
add arming checks to prevent arming while the OSD menu is enabled
5 years ago
Andy Piper
c9b96a5e79
AP_SerialManager: add support RunCam serial protocol
5 years ago
Siddharth Purohit
3278ac2e63
AP_UAVCAN: remove unnecessary scary message UC Node Down
5 years ago
CUAVcaijie
ccd54409f3
HAL_ChibiOS: Adding SPI devices for CUAV_GPS
5 years ago
CUAVcaijie
2df2e5c275
HAL_ChibiOS: Fix DMA of SPI1 TX on STM32F412
5 years ago
CUAVcaijie
8daa8f34c9
AP_Baro: added averaging of CAN baro output
5 years ago
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
5 years ago
Andrew Tridgell
58292821b3
HAL_ChibiOS: fix DMA on UARTs for F303
5 years ago
Andrew Tridgell
652d137594
HAL_ChibiOS: fixed DMA channels for f3 USART2
5 years ago
Andrew Tridgell
c6322c7c98
GCS_MAVLink: send abs throttle in VFR_HUD
5 years ago
Peter Barker
01710c035e
GCS_MAVLink: handle proximity and rangefinder messages
5 years ago
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!
5 years ago
Michael du Breuil
8bd4f2b097
AP_RangeFinder: Allow the VL53L1X to be put into short range mode
5 years ago
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.
5 years ago
Andrew Tridgell
7b4b88d568
AP_Declination: re-generate mag tables
...
max interpolate error between -60 and 60 latitude is 13.86 mGauss
5 years ago
Andrew Tridgell
79bbd3ce9f
AP_Declination: update generate script
...
added ability to display max error
5 years ago
Peter Hall
956c3f29a3
AP_BLHeli: allow connection with reversable ESCs
5 years ago
Andrew Tridgell
6eb86c6cdb
HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
...
these do not work, possibly a datasheet bug
5 years ago
Andrew Tridgell
c8c6c80aef
HAL_ChibiOS: switch MatekF765 to timer 12
...
fixes PWM 5 and 6
5 years ago
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
5 years ago
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
5 years ago
Oliver Walters
9229efbf81
AP_PiccoloCAN: Always use bulk ESC commands
5 years ago
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
5 years ago
Oliver Walters
431b07bba0
SRV_Channel: added support for Piccolo CAN ESCs
5 years ago
Oliver Walters
5fa54f3986
GCS_MAVLink: added support for Piccolo CAN ESCs
5 years ago
Oliver Walters
7c3391d0d8
AP_BoardConfig: added support for Piccolo CAN ESCs
5 years ago
Oliver Walters
2e0d2e2db0
AP_Arming: added support for Piccolo CAN ESCs
5 years ago
Andrew Tridgell
9821d52b72
AP_PiccoloCAN: added selective build of PiccoloCAN
5 years ago
Oliver Walters
ace0006a4e
AP_PiccoloCAN: added support for Piccolo CAN ESCs
5 years ago
Andrew Tridgell
1248519b11
HAL_ChibiOS: account for empty uarts in uart count
...
this fixes uart count on MatekF405-Wing
5 years ago
Andrew Tridgell
750718bdd3
RC_Channel: simplify channel check in get_pwm()
5 years ago
Andrew Tridgell
b69afff6a7
AP_Scripting: increase heap size (again)
5 years ago
Andrew Tridgell
07415d06ab
AP_Scripting: added RCIN example script
5 years ago
Andrew Tridgell
e86c6b047a
AP_Scripting: regen bindings for Lua
5 years ago
Andrew Tridgell
32215be29f
AP_Scripting: added rc input bindings
5 years ago
Andrew Tridgell
dfd7b022fd
RC_Channel: added get_pwm() function for Lua
5 years ago
Pierre Kancir
d332773689
AP_Compass: add register to checked ones and remove single-use goto
...
Also fix comment on TMRC register setting
5 years ago
Pierre Kancir
d6563bff7d
AP_Compass: probe for RM3100
5 years ago
Andrew Tridgell
6f6fbb5b48
HAL_ChibiOS: make pwm pin pulldown
5 years ago
Andrew Tridgell
f732a482fe
HAL_ChibiOS: support wider range of clock frequencies
5 years ago
Andrew Tridgell
cfed364dd0
AP_ROMFS: fixed build warning
5 years ago
Andrew Tridgell
a9946b41e9
HAL_ChibiOS: added f103-Trigger board
5 years ago
Andrew Tridgell
a87e3e41f0
HAL_ChibiOS: make Pixhawk4 GPS2 connection clearer
5 years ago
Peter Barker
d1bbe4f03b
GCS_MAVLink: correct output when ROUTING_DEBUG is set
...
This is a define in the code itself, so rarely a problem
5 years ago
Andrew Tridgell
6ff303adf4
RC_Channel: added comment on odd inheritance
5 years ago