Commit Graph

50492 Commits

Author SHA1 Message Date
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
Peter Barker 856fe6a1fb autotest: sim_vehicle: neaten sanity check for sysid 2021-11-04 17:01:09 -07:00
Peter Barker 4d5411b42f autotest: sim_vehicle: correct AP commandline for multicast/udpclient 2021-11-04 17:01:09 -07:00
Michael Day 93e6c1a920 Tools: sysid cannot be run together with auto-sysid
Added per @peterbarker suggestion
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-11-04 17:01:09 -07:00
Arash Negahdar d065515b2a Tools: Use a single MAVProxy instance in sim_vehicle
With the implementation of the 'alllinks' command in MAVProxy, and the
exposure of the SYSID parameter this becomes feasible

        Tools: Fix mcast handling
2021-11-04 17:01:09 -07:00
Arash Negahdar 49af90a70e Tools: Set SYSID based on instance number in sim_vehicle.py 2021-11-04 17:01:09 -07:00
Peter Barker 554e7f8d1c ArduPlane: move EFI to AP_Vehicle 2021-11-05 09:22:17 +11:00
Peter Barker ce352410e1 AP_Vehicle: move EFI to AP_Vehicle 2021-11-05 09:22:17 +11:00
Peter Barker 56dda4c07f autotest: fix race condition in Rover gcs mission test 2021-11-05 09:07:19 +11:00
Hwurzburg ee5df978af ArduCopter: add Y4 Frame type to Quadcopters 2021-11-05 07:39:27 +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
bugobliterator 323c0b2ab4 module: update ChibiOS 2021-11-05 07:37:56 +11:00
Tatsuya Yamaguchi 0ff28df2ba Copter: change the default of zigzag wp delay to 0 2021-11-05 07:37:31 +11:00
Josh Henderson 32e628f267 Tools: size_compare_branches.py add -vehicle option 2021-11-04 19:57:27 +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
Peter Barker 6a12d3f5d9 Plane: use enum class for StickMixing 2021-11-03 18:06:00 +11: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
Andrew Tridgell 8f3dd4046d git: replace git:// URLs for submodules with https 2021-11-02 19:36:23 +11:00
Iampete1 70605fd3e0 MAVLInk: step forward head to add to scripting enum 2021-11-02 17:33:34 +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
TunaLobster d97baac926 DevEnv: Add C++ and Lua recommended extensions for VSCode 2021-11-02 10:50:49 +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 e33954d561 Plane: tailsitter transition tidyups 2021-11-02 10:14:36 +11:00
Iampete1 af8688b300 Quadplane: add transiton class 2021-11-02 10:14:36 +11:00
Iampete1 9073d16b09 Tiltrotor: add transtion class 2021-11-02 10:14:36 +11:00
Iampete1 ce5b81869d Plane: Tailsitter: add transtion class 2021-11-02 10:14:36 +11:00
Iampete1 7af1b40fb8 Plane: system use new transtion class 2021-11-02 10:14:36 +11:00