Commit Graph

64491 Commits

Author SHA1 Message Date
Iampete1 f9f8c2aa29 AP_ESC_Telem: add `telemdata.valid` method to simplify code 2024-08-20 09:14:11 +10:00
Iampete1 d5a125a2a9 Tools: ardupilotwaf: boards: enable extended esc telem on sitl_periph_universal 2024-08-20 09:14:11 +10:00
Iampete1 0b551ed7bc AP_Periph: add support for sending extended ESC status 2024-08-20 09:14:11 +10:00
Iampete1 64c2a1070f AP_ESC_Telem: SITL: fill in extended status values 2024-08-20 09:14:11 +10:00
Iampete1 be80f83679 AP_ESC_Telem: add getters for extended status values 2024-08-20 09:14:11 +10:00
timtuxworth c2a5554e9f AP_Vehicle: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
timtuxworth 8a93c6a264 AP_Scripting: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
timtuxworth f63568b34b ArduPlane: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
Iampete1 b811791863 Filter: examples: TransferFunctionCheck: add support for varable DT low pass 2024-08-20 09:09:41 +10:00
Iampete1 e2ce21a237 Filter: LowPassFilter: split into two classes for constant and variable dt 2024-08-20 09:09:41 +10:00
Iampete1 7d7333a91f Filter: example: TransferFunctionCheck: override constant dt filter 2024-08-20 09:09:41 +10:00
Iampete1 ee8a8f0254 SITL: SIM_Battery: provde dt in voltage filter apply function 2024-08-20 09:09:41 +10:00
Iampete1 e97569db8c copter: flowhold: move to constant dt filter and provide dt in runtime cutoff frequency update 2024-08-20 09:09:41 +10:00
Iampete1 89297737ea AP_InertialSensor: move to new constant dt low pass filter class 2024-08-20 09:09:41 +10:00
Iampete1 44918b0e75 AP_ICEngine: move to new constant dt low pass filter class 2024-08-20 09:09:41 +10:00
Iampete1 1d589c5244 AP_GyroFFT: move to new constant dt low pass filter class 2024-08-20 09:09:41 +10:00
Iampete1 5cc63d7e6f APM_Control: move to new constant dt low pass filter class 2024-08-20 09:09:41 +10:00
Loki077 0c29d4280c AP_Scripting: AP_ESC_Telem method update
-Updated AP_ESC_Telem methods to use ESC_TELEM_MAX_ESCS instead of NUM_SERVO_CHANNELS.
- the place where the function returns bool adding skip check.
2024-08-19 21:16:41 +10:00
Loki077 46c98d6c95 AP_Scripting: added lua binding get_last_update for efi and esc 2024-08-19 21:16:41 +10:00
Loki077 94059ed7bc AP_ICEngine: Add Option to Control the direction of Cranking.
Added the 5th bit to the ICE_OPTION parameter to enable CRANK_DIR_REVERSE control, specifically for managing Hirth engine direction using AP_ICEngine_TCA9554.
2024-08-19 20:21:57 +10:00
Peter Barker 8e77f859e0 autotest: add test for mission_clear_all message 2024-08-19 19:51:33 +10:00
Lokesh-Ramina 54ec26a80a AP_EFI: Adding EFIS log for Hirth
- Added EFIS log for Hirth engine
- Added ThM to help understand the engine logs better
- Updated the field names to keep the total length 64-characters long.
- Added Bitfield for the EFIS log to log all errors.
2024-08-19 07:11:50 +10:00
Andrew Tridgell 1fe21b6120 QURT: allow for external compasses
this allows for additional compasses on I2C
2024-08-17 13:20:00 +10:00
Pierre Kancir 61bd5e9bae .github: add alpine to environement setup test 2024-08-15 22:33:42 +10:00
Pierre Kancir f1dd2bb2e8 AP_HAL_Linux: SITL: add missing header for timeval struct on alpine linux 2024-08-15 22:33:42 +10:00
Pierre Kancir 3e4241ee7f AP_HAL: add missing header for timeval struct on alpine linux 2024-08-15 22:33:42 +10:00
Pierre Kancir 102547968f SITL: add missing header for timeval struct on alpine linux 2024-08-15 22:33:42 +10:00
Pierre Kancir de85705941 Tools: add alpine initial prereqs script 2024-08-15 22:33:42 +10:00
Peter Barker ca9a504c4f AP_Camera: move defintiion of HAL_RUNCAM_ENABLED into AP_Camera_config.h 2024-08-15 18:15:05 +10:00
Gone4Dirt 1de229debc AP_MotorsHeli_RSC: Make variables in constructor const 2024-08-14 23:39:01 -04:00
Gone4Dirt aabaa0939a Copter: Move heli logging down into motors 2024-08-14 23:39:01 -04:00
Gone4Dirt 7271a469fd AP_MotorsHeli: Move heli logging down to motors 2024-08-14 23:39:01 -04:00
bugobliterator 0790eb5833 bootloaders: update Cube* and Here* bootloaders 2024-08-15 11:41:21 +10:00
bugobliterator d8df0b716d AP_Bootloader: check ecc error flags only in Flash Status registers 2024-08-15 11:41:21 +10:00
Peter Barker 60c2e4278c AP_Compass: avoid use of MAV_RESULT if mavlink bindings not used 2024-08-14 19:40:31 +10:00
Peter Barker 571f18bb69 AP_Terrain: gate mavlink includes on HAL_GCS_ENABLED
avoids trying to include headers which have not been generated"
2024-08-14 19:39:16 +10:00
Peter Barker ba305025c4 AP_Notify: use default value for DEFAULT_NTF_LED_TYPES for NavIO2
this is the default default value for this define
2024-08-14 19:38:48 +10:00
Peter Barker b47bcc4429 AP_Notify: use default DEFAULT_NTF_LED_TYPES on unrecognised Linux boards
now have two ifndef blocks, one of which defaults things on recognized linux boards, the other generically.

Preparation for removing the defaultin for Linux boards in this file
2024-08-14 19:38:48 +10:00
Peter Barker 7c2ee8d53c AP_Notify: use DEFAULT_NTF_LED_TYPES for chibios boards
default is the same  as what ChibiOS sets
2024-08-14 19:38:48 +10:00
root c854830702 AP_VideoTX:add additional freq bands(RushFPV 3.3GHz) 2024-08-13 21:32:56 +10:00
James O'Shannessy 0ec7505e64 scripts: Enable InertialLabs as a build option 2024-08-13 21:32:11 +10:00
James O'Shannessy 39f7d7a3ad AP_ExternalAHRS: Allow InertialLabs to be used as build option properly
build_options cannot autodetect InertialLabs since the feature is extracted as AP_EXTERNAL_AHRS_INERTIALLABS_ENABLED (without the underscore).
This allows you to define in/out InertialLabs properly.
2024-08-13 21:32:11 +10:00
Andrew Tridgell d225683d69 AP_GPS: fixed unconfigured uBlox pre-arm
when GPS_GNSS_MODE is zero (the default) we could get stuck trying to
configure the GNSS for F9P
2024-08-13 10:49:09 +10:00
Peter Barker 8c6a427107 AP_Vehicle: correct compilation when network port registering disabled
the ports member doesn't exist in this case
2024-08-13 10:46:45 +10:00
Peter Barker f32f3beceb AP_Networking: correct compilation when network port registering disabled
ports doesn't exist if this condition is false
2024-08-13 10:46:45 +10:00
Peter Barker 1dc87a0903 AP_OpticalFlow: simplify condition used for building onboard optical flow in
we're not being consistent in the use of defines to protect this feature; fix that
2024-08-13 10:45:31 +10:00
Andy Piper edbe339f48 AP_Logger: correctly read file header for block logger 2024-08-13 10:44:35 +10:00
Peter Barker 3194fa1385 AP_Scripting: correct compilation when AP_SCRIPTING_SERIALDEVICE_ENABLED false 2024-08-13 10:43:29 +10:00
Peter Barker 6c788c6ae0 AP_Math: correct warning on fabsF
2024-08-08T01:51:53.6780446Z ../../libraries/AP_Math/vector3.cpp:432:9: warning: absolute value function 'fabsf' given an argument of type 'const double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
2024-08-08T01:51:53.6781336Z     if (fabsF(cosv) >= 1) {
2024-08-08T01:51:53.6781583Z         ^
2024-08-08T01:51:53.6781930Z ../../libraries/AP_Math/ftype.h:50:18: note: expanded from macro 'fabsF'
2024-08-08T01:51:53.6782342Z #define fabsF(x) fabsf(x)
2024-08-08T01:51:53.6782572Z                  ^
2024-08-08T01:51:53.6789178Z ../../libraries/AP_Math/vector3.cpp:633:16: note: in instantiation of member function 'Vector3<double>::angle' requested here
2024-08-08T01:51:53.6789800Z template class Vector3<double>;
2024-08-13 10:42:23 +10:00
Andy Piper 08bf7c6163 AP_HAL_ChibiOS: Flywoo H743 Pro 2024-08-13 10:20:15 +10:00