Commit Graph

36848 Commits

Author SHA1 Message Date
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
Thomas Watson
e22f26e507 AP_DroneCAN: DNA_Server: briefly document database to guide cleanup 2024-08-20 10:22:55 +10:00
Iampete1
4ab976178e SRV_Channels: find_channel: use channel mask remove need for search over all channels 2024-08-20 09:41:58 +10:00
Peter Barker
b1ae1591fb AP_TemperatureSensor: add AP_TEMPERATURE_SENSOR_BACKEND_DEFAULT_ENABLED 2024-08-20 09:34:21 +10:00
Andrew Tridgell
faf769d8cd AP_Param: throw error if we lose parameters
if we can't save a parameter due to the queue size not being large
enough then there is a coding error, likely the code trying to save
large numbers of parameters while armed
2024-08-20 09:30:22 +10:00
Iampete1
d0d5dfddda AP_ESC_Telem: getters: check index is in range first 2024-08-20 09:14:11 +10:00
Iampete1
f9f8c2aa29 AP_ESC_Telem: add telemdata.valid method to simplify code 2024-08-20 09:14:11 +10:00
Iampete1
64c2a1070f AP_ESC_Telem: SITL: fill in extended status values 2024-08-20 09:14:11 +10:00
Iampete1
be80f83679 AP_ESC_Telem: add getters for extended status values 2024-08-20 09:14:11 +10:00
timtuxworth
c2a5554e9f AP_Vehicle: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
timtuxworth
8a93c6a264 AP_Scripting: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
Iampete1
b811791863 Filter: examples: TransferFunctionCheck: add support for varable DT low pass 2024-08-20 09:09:41 +10:00
Iampete1
e2ce21a237 Filter: LowPassFilter: split into two classes for constant and variable dt 2024-08-20 09:09:41 +10:00