Commit Graph

53220 Commits

Author SHA1 Message Date
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
Peter Barker
e7d8ad4096 Tools: add baro backend drivers to build options 2022-05-22 12:11:45 +10:00
Peter Barker
e2f5443a1e hwdef: skyviper-v2450: compile in only ICM20789 2022-05-22 12:11:45 +10:00
Peter Barker
c8bc8a8824 Tools: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Peter Barker
8cd0922f01 AP_UAVCAN: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Peter Barker
b863f8a331 AP_Baro: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Iampete1
d5e282c5a1 Tools: allow FBWB alt control option in LOITER 2022-05-22 12:09:43 +10:00
Iampete1
b017fc2196 ArduPlane: allow FBWB alt control option in LOITER
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2022-05-22 12:09:43 +10:00
Andrew Tridgell
11a06aa6cb SRV_Channel: re-fixed typo 2022-05-22 12:07:37 +10:00
Andrew Tridgell
cc06327526 AP_UAVCAN: allow CAN output for function==0 and allow for 32 CAN servos 2022-05-22 12:07:37 +10:00
Andrew Tridgell
5e184e167c AP_Periph: allow peripherals to handle servos beyond 16 2022-05-22 12:07:37 +10:00
Andrew Tridgell
aa9083e94c SRV_Channel: only support 32 channels on 2M flash boards
save flash on smaller boards
2022-05-22 12:07:37 +10:00
Andrew Tridgell
e185e1252b SRV_Channel: added a SERVO_32_ENABLE parameter
save on param count for most users
2022-05-22 12:07:37 +10:00
Andrew Tridgell
ed01d33ef8 SRV_Channel: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
4557c8ad04 AP_ToshibaCAN: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
7f6196b550 AP_RobotisServo: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
f00a227b33 AP_Motors: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
bb8ebeebe2 AP_KDECAN: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
f530761174 AP_HAL_Linux: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
113b4cec38 AP_HAL: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
7aea559bdb AP_HAL_ESP32: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
1d9abefbb1 AP_HAL_ChibiOS: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
d33734ee85 AP_ESC_Telem: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
7ed8e8d3b6 AP_BoardConfig: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
f3ce44ef2c AP_BLHeli: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
10d7a559d2 AP_Periph: 32 servo conversion 2022-05-22 12:07:37 +10:00
Andrew Tridgell
56db91d0c3 Plane: 32 servo conversion 2022-05-22 12:07:37 +10:00
Andrew Tridgell
424c3b953a Copter: 32 servo conversion 2022-05-22 12:07:37 +10:00
Iampete1
32f8062b3e SITL: move to 32 servo outs 2022-05-22 12:07:37 +10:00
Iampete1
a5928b752e SRV_Channels: set channels above 16 to GPIO by defualt 2022-05-22 12:07:37 +10:00
Iampete1
48b3549158 AP_Logger: RCOUT only log if there is a valid output channel 2022-05-22 12:07:37 +10:00
Iampete1
d1e02e4fdd SRV_Channel: add invalid mask for GPIO outputs 2022-05-22 12:07:37 +10:00
Iampete1
a36848cba5 SITL: JSON Master: only copy the first 16 servos 2022-05-22 12:07:37 +10:00