Commit Graph

36860 Commits

Author SHA1 Message Date
Henry Wurzburg
4a72373624 AP_GPS:fix metadata typo 2024-08-28 15:31:08 +10:00
Henry Wurzburg
1631e85fe8 AP_GPS:add note to old param names to avoid confusion 2024-08-27 12:00:14 +10:00
Iampete1
3c6e5691e4 Filter: LowPassFilter: use calc_lowpass_alpha_dt helper 2024-08-27 11:21:22 +10:00
Iampete1
5453f3a0cc AP_DroneCAN: register handle_actuator_status_Volz callback and fix logging 2024-08-27 11:18:18 +10:00
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
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
Wu
a33a0d1579 HAL_ChibiOS: fixed the imu orientation of RadiolinkPIX6 2024-08-27 10:26:50 +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
98d9890bf1 AP_ICEngine: convert from local servo endpoints and rc channel params 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
Peter Barker
39b4b80a5f AP_GPS: create real AP_GPS_Blended backend 2024-08-27 09:26:06 +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
jamming
988d50fd9b hwdef: Add IST8310 and RM3100 Compass support for HolybroG4_GPS 2024-08-22 08:57:18 +10:00
jamming
a3c930be7b AP_HAL_ChibiOS: Add a new target HolybroG4 DroneCAN Airspeed 2024-08-22 08:56:22 +10:00
Andy Piper
9c588d6ae2 AP_HAL_ChibiOS: do not include NeoPixel in minimum pulse separation 2024-08-21 17:24:01 +10:00
Randy Mackay
0d568b500a AP_Scripting: message_interval example handles 0hz 2024-08-21 11:41:50 +09:00
Andrew Tridgell
d3a1d515cb AP_Scripting: added TECS tuning to revert param script 2024-08-21 06:46:56 +10:00
Andrew Tridgell
1b4fb403f2 AP_NavEKF2: added EK2_OPTIONS
this allows for disabling of external navigation data (such as visual
odomotry) in EKF2. This is very useful when using EKF2 as a fallback
and truth reference when testing visual odomotry on EKF3
2024-08-21 06:32:34 +10:00
Peter Barker
2e1364e3b0 autotest: include SBF when testing GPS backends work 2024-08-21 06:31:41 +10:00
Peter Barker
07b27d76be SITL: correct and augment SBF simulator
- checksum calculation was including header parts in CRC twice
 - need to send DOP message to make EKF happy
 - need to supply own number of satellites
 - must pad packets to a multiple of 4 bytes
2024-08-21 06:31:41 +10:00
Peter Barker
3bde446538 AP_GPS: SBF: avoid FPE when undulation is DNF 2024-08-21 06:31:41 +10:00
chiara de saint giniez
c9f648b97c SITL: SBF driver 2024-08-21 06:31:41 +10:00
Peter Barker
ebc8a71c36 GCS_MAVLink: allow cancelling of mission upload by sending MISSION_CLEAR_ALL 2024-08-20 20:46:41 +10:00
Peter Barker
c0735d136c GCS_MAVLink: factor out a check_receiving_cancel method
allow reuse of this logic
2024-08-20 20:46:41 +10:00
Peter Barker
8ee7bf2dcb AP_GPS: change GPS_TYPE value 10 from SBF to Septentrio 2024-08-20 20:45:45 +10:00
Peter Barker
b86380bbc6 AP_Camera: create and use an option_is_enabled 2024-08-20 14:50:23 +10:00
Ryan Friedman
d859e9aa55 AP_GSOF: Disable packet1 test for now
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman
724e61fa70 Tools: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman
921ef6cd36 AP_GSOF: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman
f8295cb52b AP_GPS: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Andrew Tridgell
669cb6563b AP_GPS: allow for EAHRS_SENSORS to not include GPS
this allows external AHRS GPS to not be presented to AP_GPS as a
possible driver
2024-08-20 10:27:01 +10:00
Thomas Watson
7c5a46bac2 AP_DroneCAN: DNA_Server: arrange db methods into more logical order 2024-08-20 10:22:55 +10:00
Thomas Watson
b38766c469 AP_DroneCAN: DNA_Server: clarify comments with consistent terminology 2024-08-20 10:22:55 +10:00
Thomas Watson
9669b4e85d AP_DroneCAN: DNA_Server: rename db methods to use consistent terminology
Also use snake_case like the rest of Ardupilot.
2024-08-20 10:22:55 +10:00
Thomas Watson
ddf74e2da4 AP_DroneCAN: DNA_Server: rename node record structure
Rename NodeData to NodeRecord to provide a more specific name and match
the record term used in the comments. Also nominally allows stuff to be
associated with the nodes that's not the record, as expanding the record
is hard.

Additionally, rename the `hwid` field to `uid` as that's what's used in
the rest of the code.
2024-08-20 10:22:55 +10:00