Commit Graph

58813 Commits

Author SHA1 Message Date
Andrew Tridgell 56be632916 HAL_ChibiOS: use set_size_best()
maximise chance of getting a reasonable uart buffer size
2023-07-18 11:38:27 +10:00
Andrew Tridgell 8a8a45dd23 AP_HAL: added set_size_best() for ByteBuffer 2023-07-18 11:38:27 +10:00
Andrew Tridgell 1696464bac AP_Periph: make uCenter ublox fw update more reliable
ensure we have a big enough UART buffer and do locking
2023-07-18 11:38:27 +10:00
Henry Wurzburg f4503a5b7b AP_Arming:change metatdata for ARMING_REQUIRE 2023-07-18 11:35:55 +10:00
Peter Barker 8ff9fc0f70 AP_Logger: add Write_NamedValueFloat
for getting diagnostics into the code during ddebug fast
2023-07-18 11:34:31 +10:00
Iampete1 f5d6e167b5 AP_Vehicle: dynamic notch use min ratio for RPM tracking 2023-07-18 11:32:39 +10:00
Peter Barker a3f43b26ae AP_OpticalFlow: use vector rotate method 2023-07-18 11:19:57 +10:00
Peter Barker 92b7cfbbb2 AP_Beacon: MarvelMind: avoid potentially reading INT32_MAX bytes of input
constrain the number of bytes read.  Simplify the way bytes are read.

the return value from available() is unsigned...
2023-07-18 11:18:47 +10:00
Peter Barker 32659fd3b6 AP_HAL_SITL: correct return values on UARTDriver write call 2023-07-18 11:17:01 +10:00
Andy Piper 0b20328756 Filter: fix notch filter test. 2023-07-18 11:06:02 +10:00
Andrew Tridgell af491e2f2a AP_Math: define M_PI to more digits for use by code that uses DOUBLE_PRECISION_SOURCES 2023-07-18 11:06:02 +10:00
Andy Piper 5d260f1f42 AP_Mission: use fabsF where appropriate 2023-07-18 11:06:02 +10:00
Andy Piper 761c7a0161 ArduPlane: fix incorrect float conversion 2023-07-18 11:06:02 +10:00
Andy Piper 49096422e7 Plane: allow notch frequencies to be logged at full rate 2023-07-18 11:03:47 +10:00
Peter Barker 6e0639ea91 AP_HAL: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
Peter Barker c88a53b662 AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
Michael du Breuil a8102d6662 Plane: On vtol landings if from a mission perform crosstracking 2023-07-18 10:44:11 +10:00
Henry Wurzburg f70c1e96c7 hwdef:add bdshot to MatekF765-SE 2023-07-18 10:26:44 +10:00
Peter Barker ae8d3724cd GCS_MAVLink: convert to COMMAND_INT to handle MAV_CMD_DO_SET_HOME 2023-07-18 09:10:26 +10:00
Iampete1 49226b6dcf AP_motors: Example: Test: allow to run on heliquad 2023-07-18 08:05:26 +09:00
Iampete1 c3200b00dd AP_Motors: Example: Test: make mostly flake 8 clean 2023-07-18 08:05:26 +09:00
Iampete1 b175e7a2f9 AP_Motors: example: heli comparison: update functionality and support setting swash type 2023-07-18 08:05:26 +09:00
Iampete1 c5c26e89da AP_Motors: example: allow setting shashplate type at runtime 2023-07-18 08:05:26 +09:00
Iampete1 b327f00b25 AP_Motors: heli: move swash servo defualt and setup into swash lib 2023-07-18 08:05:26 +09:00
Iampete1 d32d1dfec8 AP_Motors: Heli: get output mask from swashplate lib 2023-07-18 08:05:26 +09:00
Iampete1 b61b761141 AP_Motors: Heli: move swashplate output state and code into swash lib 2023-07-18 08:05:26 +09:00
Iampete1 6717da708c AP_MotorsHeli: swash: combine configure and calculate_roll_pitch_collective_factors functions 2023-07-18 08:05:26 +09:00
Iampete1 83f216a386 AP_Motors: Heli: Swash: re-work roll pitch and collecive factor caculation 2023-07-18 08:05:26 +09:00
Andrew Tridgell 30fabfa061 autotest: fixed supplementary test prefix
test test.CAN.CANGPSCopterMission needs to use binarues for test.CAN
2023-07-18 06:45:43 +10:00
Peter Barker 7bf1a3e978 Tools: autotest: add test for Plane reposition using terrain offset 2023-07-17 20:39:40 +10:00
Peter Barker bde43f167e autotest: use named parameters for send_cmd and run_cmd 2023-07-16 10:23:20 +10:00
Peter Barker 85eeffcbc3 BUILD.md: add note to note use sudo when running waf 2023-07-15 22:11:56 +10:00
Peter Barker 4b1c7b10d7 BUILD.md: remove references to make in BUILD.md 2023-07-15 22:11:56 +10:00
Peter Barker d69ba376ad autotest: use named parameters for send_cmd and run_cmd
most commands don't use all the parameters.  Counting through these was painful.
2023-07-15 21:39:16 +10:00
Peter Barker 277d16831d autotest: tweak tweak timeout on proximity test
half this allowed time was going on actually getthing the EKF happy
2023-07-15 13:02:37 +10:00
Peter Barker 74199d75c0 autotest: use send_mavlink_arm_command 2023-07-15 13:02:37 +10:00
Peter Barker f0415806ac autotest: reuse send_cmd for sending commands 2023-07-15 13:02:37 +10:00
Peter Barker 9aad60e4ae autotest: remove un-needed context from AC_Avoidance_Fence 2023-07-15 13:02:37 +10:00
Peter Barker 9c0adaf1cf autotest: split Copter proximity avoidance test in two 2023-07-15 13:02:37 +10:00
Asif Khan 0c67f20a74 AP_Mount: fix setting default mode redundantly in each backend 2023-07-15 10:46:28 +10:00
Willian Galvani 5013a1e979 Tools: don't fail if feature extraction failed (beta/stable version) 2023-07-15 09:59:28 +10:00
Peter Barker ec994957b3 autotest: tidy extraction of home string from mission files 2023-07-15 00:34:19 +10:00
Peter Barker 9b7b376016 sim_vehicle.py: roughly fix auto-sysid functionality 2023-07-15 00:13:42 +10:00
Peter Barker f288ba7cd0 AP_HAL_SITL: correct parsing of --rate on SITL commandline
it's in the help but not in the code...
2023-07-15 00:13:12 +10:00
Peter Barker f4c5c56b7d autotest: start_SITL understands SIM_RATE_HZ 2023-07-15 00:13:12 +10:00
Ryan Friedman 47a1b460bc Docker: Update to jammy in Docker
* That's what most devs have moved to

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-07-14 11:47:23 +10:00
Andy Piper 2f97a9855a AP_NavEKF3: fix docs on ABIAS_P_NSE_DEFAULT 2023-07-14 08:33:05 +09:00
Willian Galvani 7ebe3c4bf1 Sub: rename mode files from control_ to mode_ 2023-07-13 14:56:40 -03:00
Willian Galvani 9b70ac1286 Sub: big mode refactor 2023-07-13 14:56:40 -03:00
Willian Galvani d31f0d2312 Sub: Add AP_Stats
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2023-07-13 07:17:11 -03:00