Commit Graph

27874 Commits

Author SHA1 Message Date
Samuel Tabor
266fbabb6f AP_Landing: Fix slope calculation. 2021-11-10 06:55:14 +11:00
Peter Barker
065cb2decb AP_GPS_UBLOX: tidy reading of uart data
Neither of the return types used for data and numc were actually correct for the values being returned from the uartdriver functions.
2021-11-09 10:31:25 +11:00
Peter Barker
e95aedd748 AP_Logger: tidy construction of backends 2021-11-09 10:18:10 +11:00
murata
511dec01c5 AP_WindVane: Make the char_to_hex method a common method 2021-11-09 10:16:25 +11:00
murata
1e91dfe9d6 AP_Common: Make the char_to_hex method a common method 2021-11-09 10:16:25 +11:00
murata
8743ca226c AP_AIS: Make the char_to_hex method a common method 2021-11-09 10:16:25 +11:00
Michael du Breuil
f08866639e AP_GPS: Novatel respect the auto config disable parameter 2021-11-09 10:05:26 +11:00
Michael du Breuil
eedcb9aded AP_GPS: Isolate the header to be only set once
Also wrap up some common whitespace issues
2021-11-09 10:05:26 +11:00
Randy Mackay
9c1ca781f6 AP_HAL_ChibiOS: update for renamed BRD_HEAT_ parameters 2021-11-09 08:02:57 +09:00
Randy Mackay
ad0a5aa260 AP_BoardConfig: rename TEMPMGN_LOW to HEAT_LOWMGN
also these renames are included
BRD_IMU_TARGTEMP becomes BRD_HEAT_TARG
BRD_IMUHEAT_P/I/IJAX become BRD_HEAT_P/I/IMAX
2021-11-09 08:02:57 +09:00
Peter Barker
63f87a863c AP_RCProtocol: use switch statement for 3-frame check
Forces new protocol implementer to consider whether a 3-frame check is
required
2021-11-09 09:06:45 +11:00
Andrew Tridgell
12c10dce32 AP_InertialSensor: fixed comments on IMU types supported 2021-11-09 08:05:03 +11:00
Hwurzburg
47028f136e AP_Motors: change build option name to new standard 2021-11-08 19:13:00 +09:00
Andrew Tridgell
ad29135384 AP_Scripting: added plane aerobatics example 2021-11-08 21:08:52 +11:00
Andrew Tridgell
9ccfbe9813 AP_Scripting: added bindings for NAV_SCRIPT_TIME support 2021-11-08 21:08:52 +11:00
Andrew Tridgell
527d9b38e6 AP_Vehicle: added nav_script_time methods
for supporting aerobatics in scripts
2021-11-08 21:08:52 +11:00
Andrew Tridgell
ca00eceb98 AP_Mission: support NAV_SCRIPT_TIME 2021-11-08 21:08:52 +11:00
Andrew Tridgell
86c481b4b0 AP_NavEKF3: fixed switch to non-zero primary on disarm
if EK3_PRIMARY is not zero then we were not switching to it when
disarmed
2021-11-07 10:11:52 +11:00
Iampete1
0f1d3c4fc4 AP_Scripting: Docs: document arguments 2021-11-07 08:01:32 +11:00
Andrew Tridgell
f91c948fd0 AP_SerialManager: disable unused RX/TX pins on uarts 2021-11-07 07:00:35 +11:00
Andrew Tridgell
61ffe188d4 HAL_ChibiOS: implement disable_rxtx() 2021-11-07 07:00:35 +11:00
Andrew Tridgell
51da1c3eff AP_HAL: added disable_rxtx() to UARTs 2021-11-07 07:00:35 +11:00
Andrew Tridgell
97aee6f45e HAL_ChibiOS: fixed regex error for GPIOs 2021-11-07 07:00:35 +11:00
Peter Barker
306bd0a4ab SIM_GPS: make writing of data w/out byteloss more efficient 2021-11-06 16:56:14 +11:00
Peter Barker
13bd2379cf SITL: use SITL::SerialDevice in place of pipe for communication 2021-11-06 16:54:07 +11:00
Peter Barker
9ebd0cdeed AP_HAL_SITL: use SITL::SerialDevice in place of pipe for communication 2021-11-06 16:54:07 +11:00
Peter Barker
a88464c928 SITL: send sv_info from both GPS instances
Without sv_info we don't get the correct ublox type, meaning we get the wrong lag time, meaning EKF2 gets rather more annoyed than it should when we do loops in SITL.
2021-11-05 23:18:11 +11:00
Andrew Tridgell
8a4001817b HAL_ChibiOS: added support for Pixhawk5X 2021-11-05 14:30:43 +11:00
Andrew Tridgell
5f15432e07 HAL_ChibiOS: allow for NODMA patterns
this makes it easy to disable DMA on I2C
2021-11-05 14:30:43 +11:00
Andrew Tridgell
7f2bcf927c HAL_ChibiOS: allow setting of armed pin 2021-11-05 14:30:43 +11:00
Andrew Tridgell
c77dfae9a4 HAL_ChibiOS: adjust modalai for INA2xx batt mon change 2021-11-05 14:30:43 +11:00
Andrew Tridgell
75dfa6bae4 AP_BattMonitor: support other INA2xx battery monitors
added parameters for I2C bus and address. Tested on INA231 and INA226

This allows any 2M flash board to use an INA2xx battery monitor
2021-11-05 14:30:43 +11:00
Andrew Tridgell
34ba3e4782 AP_HAL: make set_soft_armed() virtual 2021-11-05 14:30:43 +11:00
Peter Barker
f7d42a3f3b GCS_MAVLink: add board ID to AUTOPILOT_VERSION mavlink msg
Co-authored-by: durka
2021-11-05 14:10:46 +11:00
Peter Barker
ce352410e1 AP_Vehicle: move EFI to AP_Vehicle 2021-11-05 09:22:17 +11:00
Hwurzburg
0b5123b194 AP_Motors: add Y4 Frame type to Quadcopters 2021-11-05 07:39:27 +11:00
bugobliterator
85284d1bc0 GCS_MAVLink: remove use of AP_BattMonitor if AP_Periph and Battery disabled 2021-11-05 07:38:43 +11:00
bugobliterator
418ac60373 AP_HAL_ChibiOS: disable watchdog when DISABLE_WATCHDOG is defined 2021-11-05 07:38:43 +11:00
Andrew Tridgell
01fb16b3b0 AP_AHRS: relax arming checks for inactive AHRS types
When using an EKF as ride-along we should not fail arming if it has
inconsistent yaw between its lanes. This is especially important when
using external yaw or GPS yaw with EKF3, where yaw is expected to be
bad with EKF2.

The check on DCM is based on the existance of an AHRS view. This is so
that tailsitters do not get arming failures due to the inability of
DCM to cope with being nose up
2021-11-04 17:44:29 +11:00
Michel Pastor
04a170d141 AP_SerialManager: fix ESC telem baud rate so that it is consistent with other protocols baud forcing 2021-11-03 18:09:41 -07:00
Josh Henderson
ea4c3d68d6 AP_Airspeed: make MAV_SEVERITY levels higher 2021-11-03 18:06:48 -07:00
Mirko Denecke
8b46ab66bd AP_Motors: remove throttle roll adjust for single motor tailsitter 2021-11-03 12:32:31 +11:00
Buzz
854266dc78 ESP32: drop submodule and add script to get it as a clone and/or submodule
works with either a submodule setup or a 'clone' for either type of dev
2021-11-03 06:06:15 +11:00
Iampete1
b047ea5c02 AP_Scripting: stop and restart scripting via command int 2021-11-02 17:33:34 +11:00
Peter Barker
6a46ccf019 AP_Beacon: have nooploop use base-class uart instance 2021-11-02 11:19:18 +11:00
Iampete1
73fb871695 AP_BatteryMoniter: combine pointer loaded param tables 2021-11-02 11:12:57 +11:00
Iampete1
7d4f305f20 AP_BatteryMoniter: add mask param to sum battery backend. 2021-11-02 11:12:57 +11:00
Josh Henderson
ed32136006 AP_Param: remove unused convert_parent_class() 2021-11-02 10:18:09 +11:00
Josh Henderson
9cae5d1120 AP_Param: add sub-group class param conversion method 2021-11-02 10:18:09 +11:00
Iampete1
a45e7608f2 GCS_MAVLink: set RC is_calibrating from command_preflight_calibration param4 2021-11-02 10:05:07 +11:00