Commit Graph

57072 Commits

Author SHA1 Message Date
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
Andrew Tridgell 91227433e9 HAL_ChibiOS: support VDD_5V_PERIPH_EN with active high 2023-03-15 19:08:53 +11:00
Andrew Tridgell 34a52142c8 AP_InertialSensor: added support using the 2nd IMU for heater control 2023-03-15 19:08:53 +11:00
Andrew Tridgell eb4f544535 AP_BoardConfig: support multiple heater pins 2023-03-15 19:08:53 +11:00
Peter Barker a32180f709 AP_Generator: rename fuel_remain_pct to fuel_remain_scale 2023-03-15 19:08:18 +11:00
Peter Barker 6bc9b7c435 AP_BattMonitor: rename fuel_remain_pct to fuel_remain_scale 2023-03-15 19:08:18 +11:00
Peter Barker 7995bc5175 Tools: add and use option to compile SLCAN support out of code 2023-03-15 19:08:09 +11:00
Peter Barker 144c3ef42c AP_HAL_ChibiOS: add and use option to compile SLCAN support out of code 2023-03-15 19:08:09 +11:00
Peter Barker c1c8158687 AP_CANManager: add and use option to compile SLCAN support out of code 2023-03-15 19:08:09 +11:00
AerofoxTech 5121cb4a70 Tools: Add bootloader for Aerofox's new air speed module 2023-03-15 19:07:00 +11:00
AerofoxTech 8395f48ec1 hwdef: add a new air speed module for Aerofox 2023-03-15 19:07:00 +11:00
AerofoxTech f1d81873ef Tools: Add a new board type number for Aerofox's new air speed module 2023-03-15 19:07:00 +11:00
Iampete1 8bd374d835 Filter: HarmonicNotch: update FREQ description 2023-03-15 18:53:55 +11:00
Andy Piper d565a378b7 AP_BattMonitor: support configuring battery #2 in hwdef 2023-03-15 18:51:37 +11:00
Andy Piper 7a85121daf AP_HAL_ChibiOS: add second battery sensor to KakuteH7v2
correct BATT2 hwdefs for various boards
2023-03-15 18:51:37 +11:00
Tom Pittenger 4a2cbf17f9 AP_NMEA_Output: fix GPGGA hdop, fix, sats 2023-03-14 12:45:47 -07:00
Liam 41ba830008 AP_NMEA_Output: UTC time decimal places, gps fix type, number of satellites and hdop. 2023-03-14 12:45:47 -07:00
Tom Pittenger 10f7a363ed AP_Scripting: bump up SCR HEAP SIZE for large RAM devices 2023-03-14 06:57:21 -07:00
Randy Mackay 63c0b276c3 Copter: 4.3.5 release notes 2023-03-14 19:15:51 +09:00
Ryan Friedman 79b3b3e8cd gitmodules: Bump up benchmark to v1.7.1 release
* https://github.com/google/benchmark/releases/tag/v1.7.1
* Solves #23193

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-14 12:47:34 +11:00