Commit Graph

64659 Commits

Author SHA1 Message Date
Peter Barker 4e623bd384 APM_Control: avoid use of AP_Logger.h in library headers
this pulls in many more headers, we should avoid using it whereever we can
2024-09-04 09:51:49 +10:00
Peter Barker 6cfecaa86d AP_NavEKF3: use enum class for DAL MemoryType 2024-09-04 09:51:08 +10:00
Peter Barker 7d1e1ef924 AP_NavEKF2: use enum class for DAL MemoryType 2024-09-04 09:51:08 +10:00
Peter Barker e3e350427e AP_DAL: use enum class for DAL MemoryType 2024-09-04 09:51:08 +10:00
Kaori Uruga 8d672ca7f8 Tools: fixed airport parameters in Flight Gear shell scripts 2024-09-04 09:49:55 +10:00
Randy Mackay b46d22f08b AP_Scripting: minor docs fix 2024-09-04 08:37:08 +09:00
Randy Mackay 1df029a679 AP_Scripting: minor spelling fix 2024-09-04 08:37:08 +09:00
Randy Mackay 00d9bf4a3b Copter: 4.5.6 release notes 2024-09-04 08:06:25 +09:00
Randy Mackay 11c83ebd97 Rover: 4.5.6 release notes 2024-09-04 08:06:25 +09:00
Randy Mackay 388c4ae894 Tracker: 4.5.6 release notes 2024-09-04 08:06:25 +09:00
Andrew Tridgell 2bb7d11501 Tools: rename bootloader for BotBloxDroneNet 2024-09-04 09:03:56 +10:00
Andrew Tridgell 34c1c70cc4 hwdef: rename BotBloxSwitch to BotBloxDroneNet 2024-09-04 09:03:56 +10:00
Randy Mackay 7f3b552ac7 Plane: 4.5.6 release notes 2024-09-04 07:36:58 +10:00
Peter Barker 7a930637e0 AP_RangeFinder: RDS02UF: avoid nuking partial messages after good parse
there may be a fragment of another packet in the buffer
2024-09-03 14:34:23 +10:00
David Buzz 61e83dcd0e AP_HAL_ESP32: improve the reported LOOP_RATE on esp32s3 to similar loop rate to classic esp32
getting a loop rate of around 130 on both now

source modules/esp_idf/export.sh

./waf configure --board=esp32s3empty --debug
./waf copter
cd build/esp32buzz/esp-idf_build/
ninja menuconfig

./waf configure --board=esp32buzz --debug
./waf copter
cd build/esp32buzz/esp-idf_build/
ninja menuconfig

and try to get both the resulting modified sdkconfig as smiilar as possible - this causes s3 to use qio, which is faster, and also puts the wifi stuff onto CORE1 on both configs.

s3:
loop_rate: actual: 148.097137Hz, expected: 400Hz
loop_rate: actual: 147.908691Hz, expected: 400Hz

classic:
loop_rate: actual: 188.718842Hz, expected: 400Hz
loop_rate: actual: 191.819748Hz, expected: 400Hz
2024-09-03 11:04:10 +10:00
Peter Barker 8856100e39 AP_Logger: restart logging after log transfer 2024-09-03 11:01:24 +10:00
Peter Barker ed512eaabe autotest: add test for logging restart after transfer complete 2024-09-03 11:01:24 +10:00
Andrew Tridgell e934780a29 Tools: rebuild BotBloxSwitch bootloader 2024-09-03 10:41:58 +10:00
Aaron Elijah b63865cdc5 hwdef: force 100MBit fullduplex for BotBloxSwitch
auto-negotiation doesn't work

also disable TX/RX swap as not needed on final board
2024-09-03 10:41:58 +10:00
Andrew Tridgell 35a2e61a01 ChibiOS: fixed MACv2 phy address shift 2024-09-03 10:41:58 +10:00
Peter Barker 771696e7d5 AP_Soaring: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker e19ae3ec01 AP_Module: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker 42282dab65 AP_L1_Control: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker 90749b6f40 AP_InertialNav: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker 99dc2d1b39 AP_DDS: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker 42b8ee78cf AP_Compass: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker 9eec4fdff2 AP_ADSB: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker e8f361458e AP_NavEKF3: rename gpsVelInnovTime_ms to gpsRetrieveTime_ms
in preparation for using this for other things
2024-09-03 10:34:02 +10:00
Peter Barker 2a6b45f4d9 AP_NavEKF3: tidy formatting of is_deadreckoning 2024-09-03 10:34:02 +10:00
Peter Barker 4782ace3b9 AP_NavEKF3: rename lastPosPassTime_ms to lastGpsPosPassTime_ms 2024-09-03 10:34:02 +10:00
Peter Barker a51614f360 AP_NavEKF3: use reference for dal in frontend
in place of method calls
2024-09-03 10:16:59 +10:00
Randy Mackay 4bcb3952c3 Tools: siyi image and video download script 2024-09-03 10:15:07 +10:00
Randy Mackay ba9bb22c3c AP_Scripting: add camera-change-settings applet 2024-09-03 09:04:39 +09:00
Randy Mackay 79983944c6 AP_Scripting: change_camera_setting binding 2024-09-03 09:04:39 +09:00
Randy Mackay 1f14c2ca6b AP_Mount: Siyi implements change_setting 2024-09-03 09:04:39 +09:00
Randy Mackay 78d88d11a3 AP_Camera: add change settings 2024-09-03 09:04:39 +09:00
Peter Barker 1f0c31bcef Sub: remove ENABLE/DISABLE defines, use 0/1 instead
same as Plane, Rover, Sub, Tracker
2024-09-02 20:05:14 -03:00
Willian Galvani 11e05b1436 AP_HAL: add BMP390 option for navigator 2024-09-02 11:37:40 -03:00
Ryan Friedman 02d01ce392 AP_DDS: Remove duplicate instructions
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-02 12:24:31 +10:00
cuav-chen2 18cb1f3899 HAL_ChibiOS: change battery scale for CUAV-7-Nano flight controller 2024-09-02 12:23:08 +10:00
Thomas Watson 89c9e59c55 AP_DroneCAN: DNA_Server: polish db methods
No compiler output change.
2024-09-02 11:53:24 +10:00
Peter Barker a0c57291d7 AP_InertialSensor: correct compilation when logging disabled 2024-09-02 11:53:12 +10:00
Peter Barker 864a7a2a4b AP_GPS: define GPS_BLENDED_INSTANCE any time AP_GPS_BLENDED_ENABLED
otherwise someone can explicity ebable it but not have a blended instance ID
2024-09-02 11:53:12 +10:00
Peter Barker a1ff3871f7 autotest: default test-build_options.py to CubeOrange
recent additions of CAN things to hwdef, and the lack of a hardware / lower-level dependency means we need to use something with CAN for now
2024-09-02 11:53:12 +10:00
Peter Barker 46170d7eaa Tools: add EKF3 optical flow fusion to build options 2024-09-02 11:53:12 +10:00
Peter Barker e9baf3d15a AP_DAL: add and use pr/EK3_FEATURE_OPTFLOW_FUSION 2024-09-02 11:53:12 +10:00
Peter Barker 02c6784c11 AP_NavEKF3: add and use pr/EK3_FEATURE_OPTFLOW_FUSION 2024-09-02 11:53:12 +10:00
Peter Barker c5b9d1dcbb AP_AHRS: add and use pr/EK3_FEATURE_OPTFLOW_FUSION 2024-09-02 11:53:12 +10:00
David Buzz 04292a280c AP_HAL_ESP32: scheduler timing information was lying to us
This reverts commit 010cfa2f4c.

AP_HAL_ESP32: scheduler timing information was lying to us, this puts it back so both 'esp32buzz' and 'esp32s3empty' loop rates are "better than before.  Still terrible, but an improvement

revert of part of pr #27181
2024-09-02 09:21:45 +10:00
Thomas Watson e99b0fd7b9 AP_HAL: increase overtime margin on ESP32 2024-09-02 09:21:08 +10:00