Peter Barker
8278d5ad76
AP_HAL_ChibiOS: move OSD minimizement to minimize_features.inc
2023-03-21 08:47:53 +11:00
Peter Barker
1ffc5d2faa
AP_OSD: add and use AP_OSD_config.h
2023-03-21 08:47:53 +11:00
Peter Barker
6ebd73f144
AP_RCTelemetry: add and use AP_RCTelemetry_config.h
2023-03-21 08:47:53 +11:00
Peter Barker
35e3dcd83b
AP_RCProtocol: HAL_LOGGING_ENABLED in place of checking build types
...
We don't care how logging works, just that it does
2023-03-21 08:31:27 +11:00
Michael Oborne
76beaeab64
CubeOrangePlus-SimOnHardWare: add support
2023-03-20 10:09:31 -07:00
Henry Wurzburg
ed7a622928
AP_Arming:correct RUDDER_ARMING description
2023-03-20 10:03:39 -07:00
Henry Wurzburg
0a96f037f5
AP_Scripting:provide altitude loss safety abort for plane aerobatics
2023-03-20 04:48:57 -07:00
QioTek
011fdf6e2b
AP_RAMTRON: added PB85RS128C and PB85RS2MC
2023-03-19 17:22:53 +11:00
Peter Barker
6021e953c5
Tools: size_compare_branches.py: do not show lines where no builds made
...
Sometimes the vehicle/board combinations are empty as no build is done. For example, when building bootloaders several boards don't have one, and hte output is cluttered with their results.
Don't show these empty lines by default
2023-03-19 11:34:55 +11:00
Peter Barker
475df8beae
Tools: add camera backends to custom build server
2023-03-19 09:08:41 +11:00
Peter Barker
8e15b2f349
AP_Mission: correct missing transitive include problem
2023-03-19 09:08:41 +11:00
Peter Barker
d200ed1b08
AP_HAL_ChibiOS: correct defaulting of camera backends in minimize_features.inc
2023-03-19 09:08:41 +11:00
Peter Barker
b850c9cb16
AP_Notify: correct config boards include
...
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00
Peter Barker
59af9436db
AP_Gripper: correct config boards include
...
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00
Peter Barker
84bf020897
AP_GPS: correct config boards include
...
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00
Peter Barker
191e5eb9c9
AP_Generator: correct config boards include
...
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00
Peter Barker
48544e3e70
AP_Camera: correct config boards include
...
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00
Andrew Tridgell
dff4008a7b
ChibiOS: fixed AHB1 RCC reset issue
...
alternative fix for #23228 that retains the clock init code
2023-03-19 07:17:28 +11:00
Andrew Tridgell
0489323551
HAL_ChibiOS: Revert "HAL_ChibiOS: fix a memory corruption bug on STM32H757"
...
This reverts commit 63633368f5
.
this broke CAN1 on some H743 boards
2023-03-19 07:17:28 +11:00
Randy Mackay
e5be8e9bf0
AP_Scripting: copter deadreckoning lua check fixes
2023-03-18 08:55:21 +09:00
Randy Mackay
3d39f9bb20
AP_Scripting: copter deadreckon applet gets param desc and md
2023-03-18 08:55:21 +09:00
Randy Mackay
bf0d096276
AP_Scripting: copter deadreckoning moved to applet directory
2023-03-18 08:55:21 +09:00
Andrew Tridgell
63633368f5
HAL_ChibiOS: fix a memory corruption bug on STM32H757
...
this fixes an issue where a variable in SRAM1 gets set to a bad value
when we reset AHB1 with the top bit (a reserved bit)
the bug was only reproducible with this particular commit:
https://github.com/tridge/ardupilot/commits/cubeorangplus-crash-boot-bisect
but likely is just luck that it triggered on that commit. In this
instance it triggered as AP_OSD::singleton was reset to non-nullptr,
causing a panic() in AP_OSD::AP_OSD()
compiler was gcc 10.2-2020-q4
2023-03-18 08:35:51 +11:00
Andrew Tridgell
32578b796b
hwdef: fixed polarity of VDD_5V_PERIPH_EN on several boards
...
we can tell these are incorrect as they init to LOW, and previously we
didn't have handling of VDD_5V_PERIPH_EN, so we know that LOW is
enabled or the boards would not have worked
this fixes GPS on Pixhawk1
2023-03-17 17:40:51 +11:00
Henry Wurzburg
6b2990813a
Tools: reserve board ID
2023-03-17 16:14:27 +11:00
Randy Mackay
b638a3576b
Copter: 4.2.4 release notes
2023-03-16 13:36:47 +09:00
Randy Mackay
fda4349f5b
Copter: 4.1.6 release notes
2023-03-16 13:35:43 +09:00
Randy Mackay
5b96998e62
AP_Mission: add camera zoom and focus support
...
also image-start-capture, video-start-capture, video-stop-capture
2023-03-16 07:47:01 +09:00
Randy Mackay
a3e3e5fd2d
GCS_MAVLink: send mav-cmd-set-camera-zoom to AP_Camera
...
also send focus and image capture
2023-03-16 07:47:01 +09:00
Randy Mackay
227daf31f7
AP_Camera: support mav-cmd-set-camera-zoom from GCS
...
also support focus and image capture commands
2023-03-16 07:47:01 +09:00
Randy Mackay
267f459c7e
AP_Camera: remove unnecessary includes
2023-03-16 07:47:01 +09:00
Randy Mackay
a8b9b2742d
GCS_MAVLink: move camera command handling to AP_Camera
2023-03-16 07:47:01 +09:00
Randy Mackay
9ccf08a0f8
AP_Camera: add handle_command_long
2023-03-16 07:47:01 +09:00
Peter Barker
3bc42b888f
AP_EFI: use uint16_t to store offset
...
prevents infinite loop if there are exactly 255 bytes ready to read
2023-03-15 13:34:17 -07:00
Peter Barker
440db27807
AP_RCProtocol: correct use of MAX_CHANNELS in SRXL2
...
This is a little all over the place. Safe, but ARRAY_SIZE ensures correctness, and we save memory...
2023-03-15 13:33:45 -07:00
Peter Barker
d5bca05fb6
AP_RCProtocol: SRXL2 uses own define for max-channels
...
Different protocol, different count.
2023-03-15 13:33:45 -07:00
Tom Pittenger
3ac55f97b1
Plane generalize Aux Switch VTOL abort for any plane abort landings
2023-03-15 13:31:43 -07:00
Tom Pittenger
6b4cf06243
RC_Channel: rename Aux SW for AUTO_VTOL to PLANE_AUTO_L:AND_ABORT
2023-03-15 13:31:43 -07:00
Rhys Mainwaring
c4a86919bb
AP_WindVane: use body frame when setting apparent wind in sitl physics backend
...
- Change behaviour to expect apparent wind in body rather than NED frame.
- Remove dependency on AP::ahrs().yaw.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-03-15 12:58:49 +00:00
Peter Barker
2f1956bba0
Tools: add option to not include SRXL in build
2023-03-15 22:45:23 +11:00
Peter Barker
9d099fbcd5
AP_RCProtocol: add option to not include SRXL in build
2023-03-15 22:45:23 +11:00
Peter Barker
1c5f5b6ef2
AP_HAL_ChibiOS: add option to not include SRXL in build
2023-03-15 22:45:23 +11:00
Andrew Tridgell
d659642826
SITL: prevent a conflict with a _serialize() macro on cygwin
...
some cygwin versions define a macro _serialize with 1 argument
2023-03-15 19:32:22 +11:00
Pierre Kancir
fa2c7113c9
Tools: enable back DriveMaxRCIN test as rover sitl gsf issue is solved
2023-03-15 19:31:26 +11:00
Pierre Kancir
f0777b5cb0
SITL: constraint SITL rover to 360deg/s yaw rate on ackerman
...
This prevent the gsf to blow up due to the rover reaching 1042 deg/s yaw rate.
2023-03-15 19:31:26 +11:00
Randy Mackay
763702aa1a
Tools: custom build server option for ekf3 wind estimation
2023-03-15 19:25:11 +11:00
Randy Mackay
41acc69773
Tools: custom build server ek3 external nav dep on ekf3
2023-03-15 19:25:11 +11:00
Andrew Tridgell
d38572bb2c
Tools: added rFCU and rGNSS bootloaders
2023-03-15 19:08:53 +11:00
Andrew Tridgell
3e2fdc7a0d
hwdef: added rGNSS GPS peripheral
2023-03-15 19:08:53 +11:00
Andrew Tridgell
d29d4d97e7
hwdef: added rFCU board
2023-03-15 19:08:53 +11:00