Commit Graph

64725 Commits

Author SHA1 Message Date
Peter Barker
46db6c12c1 SITL: correct use of simulated GPS data
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>

uses the elements out of the simulated GPS data "d", rather than going to the parameters in teh simulated GPS "backends".
2024-08-27 11:14:09 +10:00
Peter Barker
b89256bec4 autotest: add test that jamming simulator works 2024-08-27 11:14:09 +10:00
Peter Barker
3c0c2bfa67 AP_Math: add a test for rand_float 2024-08-27 11:09:13 +10:00
Peter Barker
84bcea73e1 AP_Math: correct range of returned value for rand_float on real hardware 2024-08-27 11:09:13 +10:00
Andrew Tridgell
6de6de694a AP_Math: allow rand_float() on STM32 2024-08-27 11:09:13 +10:00
Peter Barker
ee6bd4fca0 AP_RangeFinder: number enum entries
we log these so they should be numbered
2024-08-27 11:05:32 +10:00
Peter Barker
46d37abcf7 Copter: avoid nullptr deref in config_error_loop
we may enter the config_error_loop before we call Copter's methods which allocate the wpnav object.

We send mavlink messages in the config error loop, one of which calls this method - so we end up with a nullptr dereference.

We might be able to find a way to stop sending this message in the config error loop, but that's likely to take some time to do....
2024-08-27 11:04:02 +10:00
Wu
a33a0d1579 HAL_ChibiOS: fixed the imu orientation of RadiolinkPIX6 2024-08-27 10:26:50 +10:00
Willian Galvani
4ec023ac1a Tools: ardupilotwaf: allow automatic upload to BlueOS 2024-08-27 10:25:35 +10:00
Randy Mackay
5bcbf56a47 AP_Mount: Siyi ZT6 set lens fix
ZT6 has RGB and Thermal image sensors only
2024-08-27 10:23:47 +10:00
Randy Mackay
0874202aa1 AP_Mount: Siyi ZT6 hardware id fix 2024-08-27 10:23:47 +10:00
Peter Barker
c79ba79ed1 AP_Logger: AllTypes example: freshen output file 2024-08-27 10:19:26 +10:00
Peter Barker
1c15488e35 AP_Common: add comment on top of float16 storage
there are multiple standards for storing these values
2024-08-27 10:19:26 +10:00
Peter Barker
b4e3b6cdd5 AP_Logger: add support for logging float16 2024-08-27 10:19:26 +10:00
Peter Barker
4e27c51aa1 AP_NavEKF3: do not log DefaultAirspeed if logging not started
if we are not going to use this value ourselves then we certainly should not add it to the replay log
2024-08-27 10:15:10 +10:00
Peter Barker
00dc15063e AP_NavEKF: avoid copying all but the best element when recalling time-horizon data 2024-08-27 10:07:52 +10:00
Iampete1
44ae148718 Tools: autotest: defualt params: update plane-ice for ICE start stop function 2024-08-27 09:37:34 +10:00
Iampete1
a75a97eb02 Tools: autotest: quadplane: ICE Don't setup ICE start channel its already in model defaults 2024-08-27 09:37:34 +10:00
Iampete1
98d9890bf1 AP_ICEngine: convert from local servo endpoints and rc channel params 2024-08-27 09:37:34 +10:00
Iampete1
f9f9beb858 Plane: add ICEngine start/stop aux function 2024-08-27 09:37:34 +10:00
Iampete1
51963f497b RC_Channel: add ICEngine start / stop aux function 2024-08-27 09:37:34 +10:00
Iampete1
eee2d2f57e SRV_Channel: add methods to set defualt and save min/max values 2024-08-27 09:37:34 +10:00
Iampete1
5a3fb37214 Plane: call ICE init 2024-08-27 09:37:34 +10:00
Peter Barker
14e5fd396a autotest: check altitude in GPSWeightedBlending test 2024-08-27 09:26:06 +10:00
Peter Barker
39b4b80a5f AP_GPS: create real AP_GPS_Blended backend 2024-08-27 09:26:06 +10:00
Peter Barker
c4fe57d197 autotest: add test for blending while affinity is running 2024-08-27 09:26:06 +10:00
Peter Barker
b9158c0491 autotest: remove unused parameters for quadplane-copter-tailsitter 2024-08-27 08:54:10 +10:00
Peter Barker
c56439b045 autotest: quadplane-cl84: remove old parameter 2024-08-26 20:41:19 +10:00
Peter Barker
a65cd27435 AP_Beacon: allow hwdefs to override number of beacons
... also a few other variables.

Also move these out of the main header file as one is internal and the others should go in the ocnfig. in case the values are used elsewhere
2024-08-26 13:48:02 +10:00
Ryan Friedman
284faf08ee AP_GSOF: Use sparse endian instead of custom code
* This saves flash

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-26 13:31:49 +10:00
Willian Galvani
616d74f1b0 AP_Scripting: add note about generating code for extension fields 2024-08-24 14:18:53 +01:00
Wu
52c94e2a5b AP_HAL_ChibiOS: add SPA06 baro for RadiolinkPIX6 2024-08-23 18:38:27 +10:00
Andy Piper
98f3a4b7d5 AP_InertialSensor: allow backend filters to be updated independently from a separate thread 2024-08-23 18:34:28 +10:00
Tatsuya Yamaguchi
62e3c6a6a9 AC_AttitudeControl: update comment to reflect the current logic in is_active_xy() 2024-08-23 07:14:50 +10:00
Randy Mackay
ecd9694e47 Copter: 4.5.6-beta1 release notes 2024-08-22 10:36:52 +09:00
Randy Mackay
1e5c173353 Rover: 4.5.6-beta1 release notes 2024-08-22 10:36:49 +09:00
Randy Mackay
bedf3b4c41 Tracker: 4.5.6-beta1 release notes 2024-08-22 10:36:46 +09:00
jamming
988d50fd9b hwdef: Add IST8310 and RM3100 Compass support for HolybroG4_GPS 2024-08-22 08:57:18 +10:00
Andrew Tridgell
fb28e2c24f autotest: added SpringValley4 2024-08-22 08:56:59 +10:00
Andrew Tridgell
5f5d374383 Tools: fixed SpringValley alt 2024-08-22 08:56:47 +10:00
jamming
022b4eed9a hwdef: Add a new target HolybroG4 DroneCAN Airspeed 2024-08-22 08:56:22 +10:00
jamming
a3c930be7b AP_HAL_ChibiOS: Add a new target HolybroG4 DroneCAN Airspeed 2024-08-22 08:56:22 +10:00
Ido Buchman
e037b0b985 ArduPlane: add support for deca frame in QuadPlane::setup
The deca frame is properly supported for Copter and as the quadplane vtol setup calls upon the copter frames, it should also be supported for arduplane vtol for anyone who wants to work 10 vertical motors.
2024-08-21 17:34:19 +01:00
Randy Mackay
32cee974e4 Plane: 4.5.6-beta1 release notes 2024-08-21 19:35:33 +10:00
Andy Piper
9c588d6ae2 AP_HAL_ChibiOS: do not include NeoPixel in minimum pulse separation 2024-08-21 17:24:01 +10:00
Andy Piper
cdfd89bc1e bootloaders: update KakuteF4-Wing bootloaders for new board id 2024-08-21 12:42:31 +10:00
Andy Piper
6db81885d7 board_types.txt: add AP_HW_Holybro-DroneCAN-Airspeed 2024-08-21 12:42:31 +10:00
Vincent Poon
a756268a43 board_types.txt: correct Kakute F4 Wing board ID
Change AP_HW ID to 5406 due to conflict with another product.  The Holybro DroneCAN airspeed sensor uses 5405 and the FW has already been flashed onto actual products.

https://github.com/ArduPilot/ardupilot/pull/27631/files#diff-a720bbf01b6a94de212cea3cb69c06eb00dfb6255f75e4cca8fdba17a43dfa69R357
2024-08-21 12:42:31 +10:00
Randy Mackay
0d568b500a AP_Scripting: message_interval example handles 0hz 2024-08-21 11:41:50 +09:00
Andy Piper
dcc0be5031 autotest: correct FenceFloorEnabledLanding test 2024-08-21 06:56:41 +10:00