Commit Graph

50477 Commits

Author SHA1 Message Date
Peter Barker 7c3de472b2 Plane: support send_extended_sys_state 2021-11-09 10:22:24 +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
Andrew Tridgell 893046608c Plane: update release notes for 4.1.3beta1 2021-11-09 09:27:27 +11: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 0c1e576544 Plane: added support for NAV_SCRIPT_TIME 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 91fe254dad mavlink: added 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
Peter Barker 2dd392ec4b autotest: read pexpects while waiting for sim time
If we do not drain pexpects regularly the ardupilot process can become blocked on terminal IO
2021-11-07 09:59:12 +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
Andrew Tridgell d3742989ef Plane: default rate max to 75 for quadplane VTOL
this reduces overshoot when VTOL tune is less than ideal
2021-11-07 06:58:53 +11:00
Andrew Tridgell debae1381c Plane: fixed a bug in POSITION1 speed thresholds
we were comparing two different speeds in the threshold for going to
Q_WP_SPEED limit. The reason the two speeds were different was the
wp_nav init happened before the defaults were setup for quadplanes

this fixes both bugs
2021-11-06 20:00:10 +11:00
Peter Barker bb973ac913 autotest: print content of sitl /proc/PID/status on death
Mysterious death ofi Copter in CI - add more debug
2021-11-06 17:22:52 +11:00
Peter Barker f86b2c1051 autotest: add sanity check that sim time is updating 2021-11-06 17:22:52 +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 a0418eaab5 .github: install anytree along with elf_diff
new unstated dependency which is causing CI to fall over
2021-11-06 12:29:22 +11:00
Randy Mackay 3b34087977 Tools: DeSET mapping boat default parameters
This frame will be added as a reference frame to the wiki
2021-11-05 22:42:12 +09:00
Peter Barker b6293acbce autotest: tweak how we make gps bad in fallback test 2021-11-05 23:18:11 +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 f0a4e6e55b Tools: added Pixhawk5X bootloader 2021-11-05 14:30:43 +11:00
Andrew Tridgell 8a6a47aa3f Tools: autobuild 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
Andrew Tridgell dfd2686878 Tools: fixed uploader.py for px4 bootloader
by fetching ext flash info before we get IDs the bootloader is left in
a state where it accepts an erase and upload
2021-11-05 14:30:43 +11:00
Andrew Tridgell 350de066a5 Tools: recognise Auterion bootloader string 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 8de7261c67 autotest: sim_vehicle.py: add --auto-offset-line
Simplifies spawning multiple instances.
2021-11-04 17:01:09 -07:00
Peter Barker e7b30a0085 sim_vehicle.py: correct setting of udpclient ports 2021-11-04 17:01:09 -07:00