李孟晓
2822c30307
AP_Baro: added ICP201XX support
3 years ago
Peter Barker
d926aa2e11
AP_OSD: correct includes for AP_Arming change
...
This file was getting the copter-or-heli define from AP_Arming, which was getting it from AP_InertialSensor. This broke when AP_Arming stopped getting AP_InertialSensor, so add the include.
Also takes the opportunity to stop including GCS.h
3 years ago
Peter Barker
f77d1812b8
AP_Arming: record only aggregate sensor consistency check times
...
All used sensors must be consistent with the primary sensor for 10 seconds, so we don't need to record times individually
3 years ago
Nikolay March
fa71a8ccf2
AP_HAL_ChibiOS: add BDShot for Holybro PH4-mini
...
Tested, working like its big Holybro Pixhawk4! (copied bdshot files)
And there no telem2 port(usart3), undef to relolve DMA.
I thought the copter stopped twitching like before, more stable!
3 years ago
Henry Wurzburg
2f90806f0a
AP_HAL_ChibiOS: fix bootloaders to turn on switched supply during bootloader
3 years ago
Peter Barker
e4ce4ebed3
AP_InertialSensor: remove un-needed methods
3 years ago
Peter Barker
01751fba60
AP_GPS: move defaulting of AP_GPS_UBLOX_ENABLED to AP_GPS_config
...
Addition of this define crossed with another PR which created the config.h file
3 years ago
Leonard Hall
f8e74d1da3
SITL: Make Yaw control scale with aircraft size
3 years ago
Peter Barker
9acf4c88c8
AP_Generator: add AP_GENERATOR_RICHENPOWER_ENABLED
3 years ago
Henry Wurzburg
ac6ae829e4
RC_Channel: Add docs for Mount_Lock option in parameter
3 years ago
Henry Wurzburg
fe51cf2ae7
RC_Channel: Add FFT tune doc to param
3 years ago
Andrew Tridgell
798ab5d859
AP_ICEngine: added option for throttle control while disarmed
...
this uses the passed in base throttle when disarmed
3 years ago
Peter Barker
d593727205
AP_RAMTRON: reduce scope for WITH_SEMAPHORE
3 years ago
Peter Barker
2c64922a14
AP_BoardConfig: use HAL_GCS_ENABLED in place of periph/example check
...
... periphs can have GCS too...
3 years ago
Peter Barker
5286ad45ad
AP_Common: AP_FWVersion doesn't need mavlink headers
3 years ago
Peter Barker
da2b530ce8
AP_Rally: tidy creation of Location from RallyLocation
3 years ago
Andrew Tridgell
0a7757a720
AP_RangeFinder: support Benewake H30 radar
...
30m max radar
3 years ago
Peter Barker
ffc4910c7e
AP_RangeFinder: reduce verbiage when detecting serial rangefinders
3 years ago
Peter Barker
55fb6c2c51
AP_OSD: include GCS_MAVLink for OSD_PARAM_NONE
3 years ago
Peter Barker
8f9ac91fa0
AP_AIS: include GCS_MAVLink.h
...
was getting mavlink_channel_t transitively
3 years ago
Peter Barker
ba2b7b8014
GCS_MAVLink: remove mavlink-specific methods from AP_SerialManager
3 years ago
Peter Barker
b958c3db70
AP_SerialManager: remove mavlink-specific methods from AP_SerialManager
3 years ago
Peter Barker
10bc615b57
AP_GPS: add include for GCS_MAVLink.h
...
The initialisation of the GPS_Fix enumeration is made from the mavlink headers.
We should probably move away from this, converting from our own enumeration to the mavlink enumeration when required (emitting mavlink packets and receiving in AP_GPS_MAV)
3 years ago
Peter Barker
4de69823e8
AP_HAL_ChibiOS: allow crashdump even if !HAL_GCS_ENABLED
...
We can dump these to SD card, for example.
3 years ago
Andy Piper
6ab6aa1ef4
AP_VideoTX: Tramp VTX support
...
Tramp enabled on 2Mb boards with OSD via AP_TRAMP_ENABLED
3 years ago
Andy Piper
58ea8d6b7b
AP_Vehicle: wire-in tramp support
3 years ago
Andy Piper
c541639e13
AP_SerialManager: add Tramp protocol
3 years ago
Andy Piper
81aa5b9dc6
AP_HAL_ChibiOS: make available/available_locked consistent with read/read_locked
3 years ago
Iampete1
cf14e741ee
AP_NavEKF3: only include log struture if enabled
3 years ago
Iampete1
68b7293d9a
AP_Proximity: move to config.h pattern and only include log structures if enabled
3 years ago
Iampete1
db9b57c0a3
AP_AIS: move to config.h pattern
3 years ago
Iampete1
8afc07d85b
AP_VisualOdom: only include log structure if enabled
3 years ago
Iampete1
71b00e0f75
AP_GPS: use config.h pattern and only include log structures if enabled
3 years ago
Peter Barker
00329ae443
AP_GPS: stop reading arbitrary amounts of data in GPS init
...
We don't like doing this in other places as the vehicle can go out to
lunch for arbitrary periods of time
3 years ago
Peter Barker
b88f414320
AP_GPS: allow UBLOX driver to be compiled out
3 years ago
Peter Barker
e858a0fab7
AP_GPS: factor out a _detect_instance method
...
This means we don't need the goto to handle the case of a detected GPS,
and it also allows for restructure remove the "else" statements, which
will allow compilinmg out the uBlox driver
3 years ago
Andrew Tridgell
0b9c5d6dc1
AP_ESC_Telem: fixed race condition in update_rpm()
...
if another thread updates at the same time then we could get division
by zero
3 years ago
Andrew Tridgell
1995dbf47c
AP_Scripting: added update_rpm() scripting binding
3 years ago
Andrew Tridgell
ec31a13275
AP_ESC_Telem: expose update_rpm() for scripting
3 years ago
Peter Barker
d768bcc904
GCS_MAVLink: eliminate get_mavlink_channel
...
there's no dependence on any SerialManager stuff when determining this. The protocol passed through was always mavlink...
3 years ago
Peter Barker
8ab0c03ada
AP_SerialManager: eliminate get_mavlink_channel
...
there's no dependence on any SerialManager stuff when determining this. The protocol passed through was always mavlink...
3 years ago
Peter Barker
38119e17c7
GCS_MAVLink: correct gcs_out_of_space_to_send methodname
...
the "_count" is incorrect given the method which this calles on the link object
3 years ago
Peter Barker
d1f4e95b26
AP_Rally: clarify that rtl altitude is in cm amsl
3 years ago
Peter Barker
a2a63e14b1
AP_Rally: tidy calculation of nearest rally/home
3 years ago
Andrew Tridgell
9b0c8674d6
HAL_SITL: catch ubsan errors into a log file
3 years ago
Andrew Tridgell
88f0a324fd
AP_Math: added rounding functions
...
prevent undefined behaviour in float -> integer types
3 years ago
Andrew Tridgell
e2a83ba428
AP_NavEKF3: fixed undefined behaviour in logging
3 years ago
Andrew Tridgell
a24ed6a7f1
AP_NavEKF2: fixed undefined behaviour in logging
3 years ago
Andrew Tridgell
f55aadfedf
HAL_SITL: fixed undefined behaviour in GPIO
3 years ago
Andrew Tridgell
511b0f69f2
AP_Mission: skip aux function in determining if a takeoff
...
and reset landing sequenece flag on a takeoff command
3 years ago