Commit Graph

55033 Commits

Author SHA1 Message Date
Andrew Tridgell ab7582af7c CI: only run test_size on a pull request 2022-10-08 10:31:27 +11:00
Randy Mackay d612bb3089 RC_Channel: add winch enable to option param docs for Copter 2022-10-08 03:11:01 +09:00
Tom Pittenger 1944894b76 Tools: remove warning for WSL2 --upload on python.exe 3.10.x, it works fine 2022-10-07 09:35:20 -07:00
Andrew Tridgell fdff3d57ac hwdef: removed unused AP_FEATURE_BRD_PWM_COUNT_PARAM 2022-10-07 11:38:15 +11:00
Andrew Tridgell fe88515889 AP_BoardConfig: fixed BRD_SAFETY_MASK
this was being omitted on most boards since we changed to
SERVOn_FUNCTION=-1 method for GPIO
2022-10-07 11:38:15 +11:00
Andrew Tridgell aaf7e38fdf Tools: added parameters for Foxtech Altair 370
a really interesting and high performance quadplane
2022-10-07 11:27:10 +11:00
Andrew Tridgell 91e6935e0b Plane: release notes for 4.3.0beta3 2022-10-07 10:47:24 +11:00
Peter Barker 57e28092f3 Tools: extract_features.py: correct python warning 2022-10-07 09:08:22 +11:00
Peter Barker 863b8dc84a .github: feature-compare PR branch vs master 2022-10-07 09:08:22 +11:00
davidsastresas 670a702ea0 AP_NMEA_Output.cpp: Fix conversion precision issue:
We were casting the location in integer 32 bits
to float, and making fabsf in float as well, so
we were losing precision translated in about 40 cm
minimum variation in position for the NMEA output.

Also, even if using double and fabsF, we were still
rounding up last 2 decimals, so now the logic is
done in degree * 10e7 to not loose precision and
then converted properly before building the string
2022-10-07 08:37:59 +11:00
m.kerneis 094a4bdd1f AP_Bootloader: reserve board ID for JHEMCUGF16F405 2022-10-07 08:30:20 +11:00
mattbooker 821ef1d4d9 Plane: Fixed divide by zero error when transitioning to guided 2022-10-07 08:22:48 +11:00
Andrew Tridgell 14be09d72c autotest: don't try and fly the ICE aircraft
they would need ignition control
2022-10-07 07:53:50 +11:00
Andrew Tridgell 026290a4e1 autotest: make it easier to run a test plane with ICE 2022-10-07 07:53:50 +11:00
Andrew Tridgell bcdf3d5d60 AP_ICEngine: report when engine goes into run state 2022-10-07 07:53:50 +11:00
Andrew Tridgell f7d5789b0e AP_Param: fixed handling of long lines in defaults.parm
lines longer than 100 bytes were causing the parsing to stop
2022-10-07 07:53:16 +11:00
Andrew Tridgell 1796cd5394 AP_Vehicle: check for motors being nullptr
this can happen with plane with Q_ENABLE=0
2022-10-06 21:28:55 +11:00
MatthewHampsey 8fb00f02f4 AP_Scripting: Added additional trajs, cuban eight 2022-10-06 15:55:45 +11:00
Randy Mackay 23878faaef AP_Scripting: winch-test example script 2022-10-06 14:39:28 +11:00
Randy Mackay cf461793d5 AP_Scripting: add winch docs 2022-10-06 14:39:28 +11:00
Randy Mackay 57f8a46339 AP_Scripting: add winch bindings 2022-10-06 14:39:28 +11:00
Andrew Tridgell 2faa0fd2f2 AP_Vehicle: implement 1M/2M warnings
encourage users to run the right firmware for their boards
2022-10-06 10:58:46 +11:00
Andrew Tridgell 861bd06034 hwdef: added warning messages about flash size 2022-10-06 10:58:46 +11:00
Andrew Tridgell 2a7a7eef89 AP_Bootloader: use new check_limit_flash_1M()
use common function
2022-10-06 10:58:46 +11:00
Andrew Tridgell 07f80c2442 HAL_ChibiOS: make check_limit_flash_1M() available in main firmware 2022-10-06 10:58:46 +11:00
Andrew Tridgell 7a57fc8c5d waf: ensure we don't try to use non-implemented functions 2022-10-06 10:45:49 +11:00
Andrew Tridgell f6dc6d8b8f Tools: added CubePilot to board recognition for uploader.py
for CubeOrangePlus
2022-10-06 10:45:49 +11:00
Andrew Tridgell e5b46eb2a7 HAL_ChibiOS: fixed build error with gcc 11.3 2022-10-06 10:45:49 +11:00
Andrew Tridgell b5b1aee954 AP_Scripting: fixed use of clock and time in lua
not available on stm32
2022-10-06 10:45:49 +11:00
Andrew Tridgell 9f5f7e018e GCS_MAVLINK: fixed warning in ftp build with gcc 11.3 2022-10-06 10:45:49 +11:00
Andrew Tridgell 3082506921 CI: don't try and build fmuv3 bootloader with gcc 6
doesn't fit
2022-10-06 10:31:51 +11:00
Andrew Tridgell ded3a60505 Tools: fixed build of bootloaders with debug 2022-10-06 10:31:51 +11:00
Andrew Tridgell 6e310f4e4e CI: test build fmuv3 bootloader in CI
fmuv3 and other 16k bootloaders were broken by a recent change
2022-10-06 10:31:51 +11:00
Andrew Tridgell d919a7f8f4 hwdef: reduce flash usage to allow build 2022-10-06 10:31:51 +11:00
Peter Barker dc85169cb1 AP_Compass: send report if we are in the BAD_RADIUS state 2022-10-06 10:31:09 +11:00
murata 272e719a14 SITL: Make the same process into a method 2022-10-06 08:42:13 +11:00
Peter Barker 05a638a639 AP_Compass: correct is_calibrating check
before this we only ever looked at the first backend
2022-10-06 08:21:03 +11:00
Peter Barker 75919171b7 AP_Compass: remove default clause from calibrator status switch
bad_radius should almost certainly be treated just like bad orientation
2022-10-06 08:21:03 +11:00
Peter Barker d6c5a0ab2b AP_Compass: correct compilation when COMPASS_MAX_INSTANCE>1 and no diagonals 2022-10-06 08:21:03 +11:00
Iampete1 4668e1b61e AP_InertialSensor: Logging: only log single notch frequency unless per-motor, never log fixed 2022-10-05 18:30:24 +11:00
Andy Piper ce481af167 AP_HAL: correct prescaler calculation and add testing debug.
use normalized bitwidths for neopixel.
make sure low prescaler values are allowed.
significantly tighten clocking prescaler tests
add assertions around expected prescaler values
2022-10-05 18:27:43 +11:00
Peter Barker 3cbd018877 AP_Periph: correct build for EFI can
no longer an array
2022-10-05 18:03:59 +11:00
Randy Mackay d3a86e560f Copter: 4.3.0-beta2 release notes 2022-10-04 16:55:29 +09:00
Randy Mackay de70ccc6a7 Rover: 4.3.0-beta2 release notes 2022-10-04 16:55:16 +09:00
Andrew Tridgell a4762009f9 Plane: added release notes for 4.3.0beta2 2022-10-04 18:50:40 +11:00
murata c2e26acbea Copter: Message length within 50 bytes 2022-10-04 10:33:49 +09:00
Henry Wurzburg 96be774733 Tools: update signing readme for correct reversal instructions 2022-10-04 12:28:13 +11:00
Henry Wurzburg 164711a5c3 Plane: correct range for kff_thr_2_pitch 2022-10-04 12:27:15 +11:00
Andrew Tridgell 2e6bcbd2cf CI: use base branch for test size
allow test size CI to run for beta builds
2022-10-04 12:06:04 +11:00
Leonard Hall 1a5b4fb7d2 Copter: Reorder Alt_hold state switch statement for clarity 2022-10-04 10:03:44 +09:00