Commit Graph

64718 Commits

Author SHA1 Message Date
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
Thomas Watson 6c2daabd21 AP_Scheduler: make overtime margin definable
Also warn about overtime on ESP32 which is most likely to hit it.
2024-09-02 09:21:08 +10:00
Peter Barker 50dba896ca autotest: AutoContinueOnRCFailsafe extend auto leg to avoid race
saw an instance where it made it to waypoint four before we registered the RC failsafe
2024-09-02 08:29:12 +10:00
Ferruccio Vicari 5b2dcc3a0c AP_Motors: fix DDVP tail servo initialization 2024-09-01 18:03:20 -04:00
Peter Barker 22caa52d58 Tools: build_options.py: OSD_PARAM does not required OSD to build 2024-09-01 13:39:49 +10:00
Peter Barker f050ffa3da autotest: correct and add to the extract_features table
depending on which vehicle we are compilin gfror some symbols may be elided by the compiler, so find other symbols which will work.
2024-09-01 13:39:49 +10:00
Peter Barker 3079ddd1b2 Tools: build_options.py: update feature define whitelist
two of these defines are no longer uses in the codebase, one can't be checked for because there's no symbol for it
2024-09-01 13:39:49 +10:00
Peter Barker 18e1a1f630 Tools: build_options.py: remove some baros from features
these are not probably - if they don't exist in a hwdef already then they can't be included in the build
2024-09-01 13:39:49 +10:00
Peter Barker 790287c1fa Tools: build_options.py: correct some feature dependencies 2024-09-01 13:39:49 +10:00
Peter Barker 4700f09e7d autotest: test_build_options.py: add --resume option 2024-09-01 12:58:50 +10:00
Peter Barker 1439aebf94 autotest: improve diagnostics when receiving unexpected mission ack 2024-08-31 08:16:42 +10:00
Peter Barker 6d844d8c79 autotest: test the simulated rangefinder driver 2024-08-30 11:19:14 +10:00
Clyde McQueen e8bd38092e Sub: reduce PILOT_SPEED_ minimums 2024-08-29 20:00:54 -03:00
Clyde McQueen cc06f7099c AC_WPNav: lower WPNAV_SPEED min to 10 cm/s 2024-08-30 07:55:50 +09:00
caijie f8cbd29570 AP_Bootloader: reserve IDs for VIEWPRO 2024-08-30 07:51:02 +09:00
Maxim Buzdalov 15d6e664d8 AP_Notify: Fix compilation error in GPIO_LED_1.cpp 2024-08-29 09:37:50 +10:00
bugobliterator 0dbe9ed27f bootloaders: update PPPGW bootloaders 2024-08-28 18:20:29 +10:00
bugobliterator 8222d65ebe AP_Bootloader: make Content-Length handle case insensitive 2024-08-28 18:20:29 +10:00
bugobliterator 957e92aca1 AP_HAL_ChibiOS: use CubePilot-CANMod's Serial Order 2024-08-28 18:20:29 +10:00
Henry Wurzburg e6351b6a41 AP_Notify:correct and expand 1 led flash sequences 2024-08-28 18:19:26 +10:00
George Zogopoulos bc1e490257 Plane: In transition use TRIM_THROTTLE when TKOFF_THR_MIN==0 2024-08-28 18:18:55 +10:00
George Zogopoulos 6fee0eccad Plane: Removed all instances of in_back_transition
It is not currently used anywhere.
2024-08-28 18:18:55 +10:00
George Zogopoulos f7d40c0c73 autotest: Added TKOFF_THR_MIN test 2024-08-28 18:18:55 +10:00
George Zogopoulos 3b247a346a Plane: TKOFF_THR_MIN is applied to SLT transitions
Also split in_transition() to forward and backward.
2024-08-28 18:18:55 +10:00
hagerashraf 8d292def15 hwdef: reserve board Ids for DroneBuild boards
I added two new boards to the file, with 10 reserved IDs for DroneBuild drones' boards
2024-08-28 16:26:05 +10:00
Henry Wurzburg 4a72373624 AP_GPS:fix metadata typo 2024-08-28 15:31:08 +10:00
Peter Barker 51fe703ce2 mavlink: reference master; GNSS_INTEGRITY message 2024-08-27 16:32:50 +10:00
CRazy cc182c69e9 AP_Bootloader: ID reserve for HGLRCF405V4 2024-08-27 15:40:02 +10:00
Peter Barker a8b7513287 Tools: build_options.py: sort IMU into single section 2024-08-27 12:00:47 +10:00
Peter Barker bd987aa84b Tools: add build option for batchsampler
also create an IMU category to hold IMU-specific options
2024-08-27 12:00:47 +10:00
Henry Wurzburg 1631e85fe8 AP_GPS:add note to old param names to avoid confusion 2024-08-27 12:00:14 +10:00
Peter Barker c3d89ed9d1 autotest: remove unused parameters from Blimp defaults file 2024-08-27 12:00:03 +10:00
Holden 045059580c Tools: Translate Linux Mint Wilma to Noble 2024-08-27 11:59:53 +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 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