Commit Graph

55069 Commits

Author SHA1 Message Date
Andrew Tridgell ff4478a4d9 RC_Channel: added cache of aux functions for scripting
allows for scripting to act on aux functions
2022-10-11 11:47:04 +11:00
Andrew Tridgell 9d42f49ac8 AP_Common: added setonoff() method for bitmask 2022-10-11 11:47:04 +11:00
Andrew Tridgell 19fd2d0b88 AP_Scripting: added relay get() binding 2022-10-11 11:47:04 +11:00
Andrew Tridgell e7aa868669 AP_Relay: added get() method for scripting 2022-10-11 11:47:04 +11:00
Tom Pittenger 53e0c4175e AP_Periph: add support for SLCAN 2022-10-11 11:26:40 +11:00
Tom Pittenger af56837752 AP_HAL_ChibiOS: add support for SLCAN to CubeOrange-periph, enabled by default 2022-10-11 11:26:40 +11:00
Tom Pittenger d238a542ed AP_CANManager: allow SLCAN to be initialized without CANManager
Co-authored-by: bugoblitorater <siddharthbharatpurohit@gmail.com>
2022-10-11 11:26:40 +11:00
Tom Pittenger 9103140aa5 AP_HAL_Chibios: fix periph-heavy build hwdef 2022-10-11 11:20:50 +11:00
Tom Pittenger 0767640372 AP_Periph: fix periph-heavy build, wscript 2022-10-11 11:20:50 +11:00
Tom Pittenger a54d785df3 AP_Arming: wrap compass cal function calls with COMPASS_CAL_ENABLED 2022-10-11 11:20:50 +11:00
Iampete1 a774f314a2 Plane: Quadplane: SLT: enforce TECS pitch limits to beat race 2022-10-11 11:18:41 +11:00
Henry Wurzburg 98551ff005 AP_HAL_ChibiOS: update defaults for KakuteH7 boards 2022-10-11 10:52:05 +11:00
Henry Wurzburg 1db7c92603 AP_HAL_ChibiOS:Add defaults for KakuteH7Mini-NAND 2022-10-11 10:52:05 +11:00
Peter Barker e1e35c1a1a build_options.py: CRSFText requires OSD_PARAM 2022-10-11 10:50:13 +11:00
Peter Barker 6cf07e6aa5 build_options.py: Baro externalahrs sensor requires externalahrs 2022-10-11 10:50:13 +11:00
Peter Barker 3c35315e0f Tools: build_options.py: remove Rangefinder SIM backend
This requires AP_SIM_ENABLED, which is not available in build_options.py yet.
2022-10-11 10:50:13 +11:00
Peter Barker 5e7ae1213f AP_RangeFinder: remove sitl pointer from header
similar to what we do elsewhere, just grab the singleton in the cpp file rather than taking a pointer to it
2022-10-11 10:50:13 +11:00
Peter Barker 6be8d9cd06 SITL: remove unneeded circular rangfinder include 2022-10-11 10:50:13 +11:00
Peter Barker 23ec7a15b2 Tools: build_options.py comment out PRU and bebop rangefinders
neither of these are relevant to the ChibiOS builds and the dafult for ChibiOS (disabled) is appropriate.
2022-10-11 10:50:13 +11:00
Peter Barker cfe9208855 Tools: don't enable-in-turn when checking build options
takes forever and takes extra options to pass
2022-10-11 10:50:13 +11:00
Peter Barker c06d0cda30 AP_UAVCAN: correct compilation with EFI dronecan not compiled in 2022-10-11 10:50:13 +11:00
Peter Barker e829595594 Tools: build_options.py: add Currawong and DroneCAN to EFI options 2022-10-11 10:50:13 +11:00
Peter Barker 6b3575f9b4 build_options.py: sort by category then label 2022-10-11 10:50:13 +11:00
Peter Barker d4a7ff1ccd AP_RPM: correct compilation when RPM_PIN disabled 2022-10-11 10:50:13 +11:00
Peter Barker 3a76d248a0 autotest: add option to test enabling one feature at a time 2022-10-11 10:50:13 +11:00
Iampete1 3e8e846d1d AP_TECS: reset vdot filter if not been called 2022-10-11 10:41:25 +11:00
Peter Barker f24a8cd176 AP_Button: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Peter Barker f3b748bf0b Tools: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Peter Barker 8e7d87447c RC_Channel: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Peter Barker 93db267204 AP_HAL_ChibiOS: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Peter Barker 3f98e3aacb hwdef: use an include file for boards requiring generic feature minimization 2022-10-11 10:23:19 +11:00
Iampete1 93b1825414 RC_Channel: add method to check if override hads ever been recived 2022-10-09 16:02:13 +01:00
Iampete1 fe539e8bb2 Copter: Arming: rc recever: also check for valid override 2022-10-09 16:02:13 +01:00
bugobliterator 7d16489e9a modules: update chibios 2022-10-09 16:15:40 +11:00
Andrew Tridgell be8bebc090 Plane: 4.3.0 final release notes 2022-10-09 12:25:14 +11:00
Andrew Tridgell cc4a7993bc AP_Airspeed: use DEVID to maintain lineup of CAN sensors
persist DEVID and use it to ensure that we keep the order of DroneCAN
sensors between boots. It still allows for a sensor to be swapped out
for a new one, while keeping slot of the one that hasn't been removed
2022-10-08 21:12:01 +11:00
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