Commit Graph

35924 Commits

Author SHA1 Message Date
Henry Wurzburg 7a21f2b862 hwdef: enable can port on Blitz743Pro 2024-05-07 10:44:15 +10:00
Iampete1 a8b4999d96 AP_Scripting: tests: enforce correct types in docs 2024-05-07 09:51:53 +10:00
Iampete1 aa7a1ce2a6 AP_Scripting: Docs: fix all type errors 2024-05-07 09:51:53 +10:00
Iampete1 a4a8923e1e AP_Scripting: generator: add return count to manual bindings 2024-05-07 09:51:53 +10:00
Iampete1 439fcb7c46 AP_Scripting: update docs 2024-05-07 09:51:53 +10:00
Iampete1 6e75f7c80f AP_Scripting: update docs generator to show ap_objects as possibly nil 2024-05-07 09:51:53 +10:00
Peter Barker 7319422d6c AP_HAL_Linux: remove unused RC input methods
these protocols have come from AP_RCProtocol for years
2024-05-07 09:49:48 +10:00
Iampete1 95a5169439 AP_Scripting: CAN: `get_device` and `get_device2` return nil if no driver is configure with the correct protocol 2024-05-07 09:48:10 +10:00
Iampete1 632d0a93c1 AP_CANManager: CANSensor: add getter for initialized 2024-05-07 09:48:10 +10:00
Iampete1 f3c32a7c9e AC_AttitudeControl: move `euler_rate_to_ang_vel`, `ang_vel_to_euler_rate` and `euler_accel_limit` to Quaternion attitude 2024-05-07 08:34:40 +09:00
tanghongkai b66ecd8884 AP_Logger: rename class and hwdef related to w25nxx 2024-05-06 12:26:38 +10:00
Gone4Dirt 71a4885c87 AP_MotorsHeli: Add collective and cyclic blade pitch angle logging 2024-05-04 21:36:24 -04:00
Andrew Tridgell b161bdd6a9 AP_AHRS: prevent use of uninitialised EAS2TAS 2024-05-05 07:57:54 +10:00
Andrew Tridgell 53c0619a9a SITL: added Glider SITL model 2024-05-05 07:57:54 +10:00
Andrew Tridgell 4370d2e348 HAL_SITL: added Glider SITL model 2024-05-05 07:57:54 +10:00
mateksys af1ab61f78 AP_HAL_ChibiOS: update MatekH7A3 hwdef for 16MHz xtal 2024-05-04 20:52:50 +10:00
Thomas Watson 0ca37387be AP_Filesystem: guarantee load_file() data is null-terminated
Improves safety of use and clarity of users. Termination is not
included in the reported size to avoid changing user behavior or
misrepresenting the file contents.
2024-05-04 10:15:44 +10:00
Thomas Watson a5764b7413 AP_ROMFS: clarify usage and null termination
Also remove the redundant insertion of the null terminator.
2024-05-04 10:15:44 +10:00
Andrew Tridgell e2767f899f AP_Scripting: allow for 0x00 for 2nd checksum byte in INF_Inject driver
the device does send 0x00 sometimes and data is valid
2024-05-04 07:43:39 +10:00
Jacob Dahl e5ea8f14f4 hwdef: ARKV6X: enable debug console 2024-05-02 15:16:33 -07:00
Jacob Dahl 9f5e837646 hwdef: ARKV6X: UART6 RC SBUS input 2024-05-02 15:16:33 -07:00
Andy Piper f78eb58fb4 AP_InertialSensor: ensure that notches get updated while converging 2024-05-03 07:34:21 +10:00
Iampete1 982cc3a00f AP_DroneCAN: call RPM subscribe 2024-05-02 20:25:38 +10:00
Iampete1 dff29a5015 AP_RPM: add DroneCAN backend 2024-05-02 20:25:38 +10:00
Iampete1 23989bc569 AP_RPM: add DC_SEND_ID for periph RPM stream 2024-05-02 20:25:38 +10:00
Andrew Tridgell c628e31c0a AP_Scripting: fixed crc and added logging to INF_Inject driver 2024-05-02 12:17:49 +10:00
Andy Piper 30877cf11f AP_InertialSensor: allow FIFO rate logging for hires sampling 2024-05-02 11:01:20 +10:00
Andy Piper b1e7974453 AP_HAL_ChibiOS: add highres sampling to Pixhawk6X 2024-05-02 11:01:20 +10:00
Peter Barker d1de760ee4 AP_Scripting: enable AP_Scheduler for CubeOrange-periph-heavy
... we use the scehduler in AP_Motors, which is compiled when making heavy-periph
2024-05-01 17:53:44 +10:00
Peter Barker f44dd9605d AP_HAL_ChibiOS: enable AP_Scheduler for CubeOrange-periph-heavy
... we use the scehduler in AP_Motors, which is compiled when making heavy-periph
2024-05-01 17:53:44 +10:00
Peter Barker 549411133b GCS_MAVLink: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Peter Barker f9c5c02f91 AP_RCProtocol: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Peter Barker 6f42556951 AP_Radio: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Peter Barker f6bfd7cad3 AP_HAL: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Peter Barker c521a5edfe AP_HAL_ChibiOS: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Peter Barker 6d9a75b5ec AP_BoardConfig: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Henry Wurzburg c91fe8a44f AP_Motors:explain PMWRange/Angle PWM types in metadata 2024-05-01 17:26:44 +10:00
Iampete1 97449b0572 AC_Avoid: add "BACKZ_SPD" vertical backup speed limit parameter 2024-05-01 17:25:07 +10:00
richaravoil af3be52925 AP_HAL_ChibiOS: adding active UART in the bootloader
Adding USART6 to be active in bootloader phase to allow flashing with a serial connection.
2024-05-01 17:21:30 +10:00
Andy Piper f38faaae99 AP_HAL_ChibiOS: iFlight Blitz H7 Pro 2024-05-01 17:19:05 +10:00
Daniel Field 33892aa049 SITL: modifications to lift in SIM_StratoBlimp (#3)
* Update SIM_StratoBlimp.cpp

* Update SIM_StratoBlimp.h
2024-05-01 15:45:22 +10:00
Peter Barker c08d982c0c SITL: populate speed accuracy uBlox messages from SITL parameters 2024-05-01 10:19:58 +10:00
Andrew Tridgell 68b58d5435 AP_Compass: workaround hardware bug in IST8310 whoami
the WAI (whoami) register is writeable. Not only is it writeable, but
the written value is persistent across a power cycle. You have to
remove power for about 30s for it to finally go back to the right
default value of 0x10

this makes using WAI as a test for finding a IST8310 problematic. The
best we can do is send a soft reset which will reset it to default for
us to then check
2024-05-01 09:24:54 +10:00
Andy Piper 41fd7c726e AP_IOMCU: allow up to 16 channels of servo data to be sent to the iomcu 2024-05-01 08:21:01 +10:00
Peter Barker dce3a41657 SITL: add description for SIM_BARO_DRIFT 2024-04-30 16:39:32 +10:00
Peter Barker 527e621a57 AP_Baro: accumulate altitude drift in place of raw calc
currently we set drift based on current boot time.  If you want to introduce it at some stage in a flight the baro alt will suddenly jump based on how long you've been up.

Instead, accumulate a delta
2024-04-30 16:39:32 +10:00
Andy Piper 25b10fb8c4 AP_HAL: make NeoPixel high-low proportions match for 0 and 1 2024-04-30 11:00:30 +10:00
tanghongkai 0dac7d5cfe AP_Logger: add support to w25n02kv 2024-04-30 10:58:12 +10:00
Ryan Friedman b81a5deefe AP_ExternalAHRS: Add pre-arm for misconfigured EAHRS_SENSORS and GPS_TYPE
* This catches when there's a mismatch of GPSx_TYPE and EAHRS_SENSORS
  when GPS is enabled
* Before this pre-arm, failure to set GPS_TYPE2 to 21 (ExternalAHRS)
  resulted in silent rejection of the data in AP_GPS because the default
is off
* And fix a little logging bug

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-04-30 09:18:46 +10:00
Iampete1 1b1ce9530c AP_Common: add `get_distance_NED_alt_frame` method 2024-04-30 08:03:39 +09:00