Commit Graph

53252 Commits

Author SHA1 Message Date
Peter Barker c496985e37 SITL: SIM_RichenPower sets MaintenanceRequired error flag
Turns out the generator does set this flag when the generator reaches
its maintenance required state.
2022-05-25 18:17:05 +10:00
bugobliterator 1934b4a738 AP_HAL: move function definitions to cpp to save flash 2022-05-25 18:14:46 +10:00
bugobliterator 76d6170ec9 AP_HAL_ChibiOS: add mechanism to set register rw register using device name for SPI 2022-05-25 18:14:46 +10:00
bugobliterator e26ffc4ec5 AP_HAL: add mechanism to set register rw register using device name for SPI 2022-05-25 18:14:46 +10:00
Peter Barker 4272b2c264 AP_AccelCal: limit COMMAND_ACKs accepted for vehicle pose confirmation 2022-05-25 17:55:55 +10:00
Peter Barker be21091619 GCS_MAVLink: pass mavlink_command_ack_t to accelcal library
The library needs to look at the content of the packet.  Given that GCS_MAVLink is already within handle_command_ack, decoding it there makes sense.
2022-05-25 17:55:55 +10:00
Peter Barker dcc1818ee2 AP_AccelCal: pass mavlink_command_ack_t to accelcal library
The library needs to look at the content of the packet.  Given that GCS_MAVLink is already within handle_command_ack, decoding it there makes sense.
2022-05-25 17:55:55 +10:00
Peter Barker 069fdfae60 autotest: test SITL airspeed sensor backend 2022-05-25 17:52:44 +10:00
Peter Barker dd2283d73b AP_Airspeed: add SITL backend 2022-05-25 17:52:44 +10:00
Peter Barker 0e9236a116 Tools: build_options.py: fix double-definition of AP_BARO_MSP_ENABLED
Fixes redefinition on custom build server
2022-05-25 17:49:38 +10:00
Andy Piper 0cd3636dfb AR_Motors: make sure ESC type is initialized early 2022-05-25 17:06:08 +10:00
Andy Piper 3d9639181e AP_Motors: make sure ESC type is initialized early 2022-05-25 17:06:08 +10:00
Andy Piper e95d116979 SRV_Channel: add BLHeli_S ESC type 2022-05-25 17:06:08 +10:00
Andy Piper cabaef6173 AP_HAL_ChibiOS: add BLHeli_S ESC type and use it to control bitwidths 2022-05-25 17:06:08 +10:00
Andy Piper 35a37cb84b AP_HAL: add BLHeli_S ESC type and use it to control bitwidths
adjust BLHeli_S bitwidth and ticks to support more ESC variants.
2022-05-25 17:06:08 +10:00
Pierre Kancir 56e5dd1748 CI: fix coverage reset: unknown terminal type unknown 2022-05-25 06:43:37 +10:00
Pierre Kancir 0e1297177b Tools: fix arch install script 2022-05-25 06:42:57 +10:00
Pierre Kancir 9b3a20aacb CI: solve git rev-parse issue 2022-05-25 06:42:57 +10:00
Ruffalo-sunghwan 988eb67298 AP_Common : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan e4a4fbe17a AP_ADSB : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 499c5dfc96 AP_Compass : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 746e85740f AP_FETtecOneWire : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 001643eb4f AP_Airspeed : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 3f1779a5a1 AP_Landing : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 7fb9d21cbf AC_AttitudeControl : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 40071aacc6 AP_Torqeedo : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 286e0f261e AP_TECS : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 86cd266010 AP_RangeFinder : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 51451d29e1 GCS_MAVLink : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan 5a4d61e3a4 AP_NavEKF3 : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan dc07747199 SITL : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan e0d14d900a SRV_Channel : correct comment spelling 2022-05-24 20:27:45 +09:00
Tom Pittenger 2d09b3fcef Rover: fix compiler warning, uninitialized variables in GCS msg 2022-05-24 15:30:05 +09:00
Peter Barker e6e45eda97 SITL: populate rangefinder ranges for inbuilt sims
These values are returned for the SITL rangefinder backend, type=100
2022-05-24 10:38:57 +10:00
Peter Barker 51246fda45 AP_RangeFinder: enable SITL rangefinder for sim-on-hardware 2022-05-24 10:38:57 +10:00
Peter Barker 73190d075a SITL: add support for SIM_OH_MASK (sim-on-hardware output enable mask 2022-05-24 10:35:32 +10:00
Peter Barker 2913c8d9e9 AP_HAL_ChibiOS: add support for SIM_OH_MASK (sim-on-hardware output enable mask 2022-05-24 10:35:32 +10:00
Peter Barker 488509353a SITL: add support for Plane SITL-on-hw 2022-05-24 10:35:32 +10:00
Peter Barker 16883565e2 AP_HAL: add support for Plane SITL-on-hw 2022-05-24 10:35:32 +10:00
Peter Barker 0f48557ec2 AP_HAL: fix compilation for sitl-on-hw 2022-05-24 10:35:32 +10:00
Andy Piper ccbe62589e AP_Logger: add W25Q128 variant 2022-05-24 10:32:34 +10:00
Andrew Tridgell 14a3e8b20c Plane: release notes for 4.2.1 2022-05-23 17:37:31 +10:00
Randy Mackay 3d1ce3dc0e Rover: 4.2.0 release notes 2022-05-23 16:17:09 +09:00
Randy Mackay b6c1bc291b Copter: 4.2.0 release notes 2022-05-23 16:17:00 +09:00
Andrew Tridgell fa26b69298 Plane: fixed false positive in landing detector
this fixes a case where we can get false positive on the landing
detector for quadplanes.

The issue happens if we cross the LAND_DESCEND to LAND_FINAL threshold
while pilot repositioning is active, with stale information in
landing_detect.lower_limit_start_ms as we don't run should_relax() in
LAND_DESCEND
2022-05-23 13:05:17 +10:00
murata 5096fe5fd2 Copter: Supports 32 servos 2022-05-23 10:08:38 +10:00
Andrew Tridgell cf4768454f AP_BoardConfig: expose BRD_SAFETYENABLE on all boards
default BRD_SAFETYENABLE to 0 on boards with no safety switch, which
gives us the same behaviour as before, but users can choose to enable
the safety

this fixes two problems:

  - CAN servos and ESCs work on boards with no safety switch
    (eg. MatekH743 with CAN)

  - during startup we could get spurious outputs before out aircraft
    type is setup
2022-05-22 14:58:12 +10:00
Andrew Tridgell c8b328c3a1 HAL_ChibiOS: always start with safety enabled
we want it enabled during early boot to prevent incorrect ESC and
servo output
2022-05-22 14:58:12 +10:00
Peter Barker 973b2d11a2 Tools: add parameters to test_build_options.py script
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00
Peter Barker c8f1d2f023 AP_MSP: allow baro backends to be individually compiled out
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00