Commit Graph

53809 Commits

Author SHA1 Message Date
Peter Barker e4ce4ebed3 AP_InertialSensor: remove un-needed methods 2022-07-19 10:30:36 +10:00
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
2022-07-19 10:14:18 +10:00
Iampete1 dd2221338b Plane: fence: do not re-trigger if mode change for expected reason 2022-07-19 09:44:36 +10:00
Iampete1 90f2bf3ba2 Plane: remove duplicate last mode reason 2022-07-19 09:44:36 +10:00
Peter Barker 0677965524 autotest: adjust PAUSE_CONTINUE_GUIDED to use globalframe for navigation
Co-author: Leonard Hall <leonardthall@gmail.com>

This test was failing when the yaw control on the simulated vehicle was cleaned up.  Navigating in body frame meant that the vehicle was told to go to a different position than we were actually expecting.
2022-07-19 09:24:45 +10:00
Leonard Hall f8e74d1da3 SITL: Make Yaw control scale with aircraft size 2022-07-19 09:24:45 +10:00
Peter Barker 28ed2e3cd5 autotest: add support for building alternate binaries
e.g. adding features ordinarily compiled out
2022-07-19 09:09:05 +10:00
Peter Barker c0243772b4 waf: add --define command-line option
Allows CPP defines to be specified on command-line

Eases enable/disable of optional features
2022-07-19 09:09:05 +10:00
Peter Barker 6c17fd7bac waf: build Richenpower on SITL by default 2022-07-19 09:09:05 +10:00
Peter Barker 9acf4c88c8 AP_Generator: add AP_GENERATOR_RICHENPOWER_ENABLED 2022-07-19 09:09:05 +10:00
Andrew Tridgell 0d508750bc Tools: fixed the filter test tool for instance IMU data
and use indexed log search
2022-07-19 06:28:18 +10:00
Henry Wurzburg 406d03559f Tools:Add build option for Ublox 2022-07-18 16:50:31 +01:00
Henry Wurzburg ac6ae829e4 RC_Channel: Add docs for Mount_Lock option in parameter 2022-07-18 15:38:55 +01:00
Henry Wurzburg fe51cf2ae7 RC_Channel: Add FFT tune doc to param 2022-07-18 15:38:55 +01:00
Andrew Tridgell 28d2967883 Plane: allow for throttle control in MANUAL when disarmed
pass base throttle down to ICE subsystem to allow for throttle when
disarmed in MANUAL
2022-07-18 20:55:56 +10:00
Andrew Tridgell 798ab5d859 AP_ICEngine: added option for throttle control while disarmed
this uses the passed in base throttle when disarmed
2022-07-18 20:55:56 +10:00
Randy Mackay d38ac2b520 Copter: 4.2.2-attempt2 release notes 2022-07-18 13:56:01 +09:00
murata f3c23d1629 Copter: Append WHITE SPACE to the else statement 2022-07-18 09:06:14 +09:00
Peter Barker d593727205 AP_RAMTRON: reduce scope for WITH_SEMAPHORE 2022-07-17 21:42:33 +10:00
Peter Barker 2c64922a14 AP_BoardConfig: use HAL_GCS_ENABLED in place of periph/example check
... periphs can have GCS too...
2022-07-17 09:33:11 +10:00
Peter Barker 4561e78dd5 AP_Periph: include GCS_MAVLink.h for firmware version type define 2022-07-16 17:15:52 +10:00
Peter Barker 5286ad45ad AP_Common: AP_FWVersion doesn't need mavlink headers 2022-07-16 17:15:52 +10:00
Leonard Hall 0405451463 SITL: Fix BaroWindCorrection Test 2022-07-15 09:59:44 +09:00
Leonard Hall 7a5c71d8a4 Tools: Update Callisto Model 2022-07-15 09:59:44 +09:00
Peter Barker bceaa10794 autotest: add a test for rally point altitudes 2022-07-14 11:49:53 +10:00
Peter Barker da2b530ce8 AP_Rally: tidy creation of Location from RallyLocation 2022-07-14 11:49:53 +10:00
Andy Piper 591f43e7d0 scripts: add TRAMP to build options 2022-07-14 09:23:59 +10:00
Andrew Tridgell 5f5f70d20a Plane: fixed check for fixed wing approach QRTL start
ensure we are lined up, or we are at less than 0.5 of radius before we
switch to QRTL. This fixes the case where the stopping distance is
greater than the radius, prevening us from switching to QRTL while not
lined up with the landing point
2022-07-13 20:10:19 +10:00
Andrew Tridgell 0a7757a720 AP_RangeFinder: support Benewake H30 radar
30m max radar
2022-07-13 18:47:57 +10:00
Pierre Kancir 3969ae411b Dockerfile: improve docker env to be runnable noninteractively 2022-07-13 18:45:44 +10:00
Pierre Kancir 99ef5f5957 Tools: create an ardupilot entrypoint instead of hacking .bashrc on docker 2022-07-13 18:45:44 +10:00
Peter Barker ffc4910c7e AP_RangeFinder: reduce verbiage when detecting serial rangefinders 2022-07-13 18:39:06 +10:00
Peter Barker 55fb6c2c51 AP_OSD: include GCS_MAVLink for OSD_PARAM_NONE 2022-07-13 18:32:35 +10:00
Peter Barker 8f9ac91fa0 AP_AIS: include GCS_MAVLink.h
was getting mavlink_channel_t transitively
2022-07-13 18:32:35 +10:00
Peter Barker ba2b7b8014 GCS_MAVLink: remove mavlink-specific methods from AP_SerialManager 2022-07-13 18:32:35 +10:00
Peter Barker b958c3db70 AP_SerialManager: remove mavlink-specific methods from AP_SerialManager 2022-07-13 18:32:35 +10:00
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)
2022-07-13 18:32:35 +10:00
Iampete1 712611c50e Plane: Quadplane: add yaw command model 2022-07-13 18:26:36 +10:00
Peter Barker 4de69823e8 AP_HAL_ChibiOS: allow crashdump even if !HAL_GCS_ENABLED
We can dump these to SD card, for example.
2022-07-13 18:23:37 +10:00
Andy Piper 6ab6aa1ef4 AP_VideoTX: Tramp VTX support
Tramp enabled on 2Mb boards with OSD via AP_TRAMP_ENABLED
2022-07-13 18:22:34 +10:00
Andy Piper 58ea8d6b7b AP_Vehicle: wire-in tramp support 2022-07-13 18:22:34 +10:00
Andy Piper c541639e13 AP_SerialManager: add Tramp protocol 2022-07-13 18:22:34 +10:00
Andy Piper 81aa5b9dc6 AP_HAL_ChibiOS: make available/available_locked consistent with read/read_locked 2022-07-13 18:17:07 +10:00
Iampete1 cf14e741ee AP_NavEKF3: only include log struture if enabled 2022-07-13 18:14:12 +10:00
Iampete1 68b7293d9a AP_Proximity: move to config.h pattern and only include log structures if enabled 2022-07-13 18:14:12 +10:00
Iampete1 db9b57c0a3 AP_AIS: move to config.h pattern 2022-07-13 18:14:12 +10:00
Iampete1 8afc07d85b AP_VisualOdom: only include log structure if enabled 2022-07-13 18:14:12 +10:00
Iampete1 71b00e0f75 AP_GPS: use config.h pattern and only include log structures if enabled 2022-07-13 18:14:12 +10:00
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
2022-07-13 17:56:38 +10:00
Peter Barker b88f414320 AP_GPS: allow UBLOX driver to be compiled out 2022-07-13 17:56:38 +10:00