Commit Graph

35785 Commits

Author SHA1 Message Date
muramura
d4236a95c4 tools: change a word(NFC) 2024-04-10 14:20:04 +09:00
muramura
927cfeec68 AP_Airspeed: change a word(NFC) 2024-04-10 14:20:04 +09:00
Peter Barker
29149fad1b hwdef: remove un-needed lines from CSKY405 hwdef
linting the hwdef showed this
2024-04-10 10:35:16 +10:00
Peter Barker
f16d0378e1 hwdef: compilation fix for CSKY405-fix
SCB-WAF: ../../libraries/AP_HAL/AP_HAL_Boards.h:372:2: error: #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"  372 | #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"
2024-04-10 10:35:16 +10:00
Andrew Tridgell
006d2c6cfe hwdef: require bootloader for BotBloxSwitch 2024-04-10 09:59:14 +10:00
Peter Barker
27598d1026 AP_HAL_ChibiOS: add missing Math.h include
for "MIN"
2024-04-10 08:45:18 +09:00
Peter Barker
b0351cd339 AP_GPS: protect detection structures with GPS backend defines
Save some memory when backends are compiled out
2024-04-09 10:25:42 +10:00
Iampete1
03b00cb906 AP_Vehicle: call uart_log in one_Hz_update 2024-04-09 10:00:50 +10:00
Iampete1
264bd91f4e AP_Logger: add log structures from AP_HAL 2024-04-09 10:00:50 +10:00
Iampete1
6017f372a2 AP_HAL_SITL: and uart_log method and stats struct 2024-04-09 10:00:50 +10:00
Iampete1
73f4a47496 AP_HAL_ChibiOS: and uart_log method and stats struct 2024-04-09 10:00:50 +10:00
Iampete1
e82502a4a4 AP_HAL: Util: add virtual uart_log method 2024-04-09 10:00:50 +10:00
Iampete1
1e63ec24a8 AP_HAL: UARTDriver: add log_stats method and log structure 2024-04-09 10:00:50 +10:00
Iampete1
e970a6cb5d AP_HAL_SITL: UARTDriver: add getters for cumulative tx and rx counts 2024-04-09 10:00:50 +10:00
Iampete1
7dd2529683 AP_HAL_ChibiOS: UARTDriver: add getters for cumulative tx and rx counts 2024-04-09 10:00:50 +10:00
Iampete1
a4fd3980a8 AP_HAL: UARTDriver: add getters for cumulative tx and rx counts 2024-04-09 10:00:50 +10:00
Iampete1
c5ecddad92 AP_Logger: add bytes per second unit B 2024-04-09 10:00:50 +10:00
Henry Wurzburg
06efeb20cd AP_Airspeed:add option to report cal offset to GCS 2024-04-09 09:54:21 +10:00
Peter Barker
44891ce570 AP_Vehicle: base-class implementation of set_home 2024-04-09 09:35:16 +10:00
Peter Barker
420f80db75 GCS_MAVLink: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker
d78e96cc6b AP_Vehicle: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker
ecf93f6d86 hwdef: remove redundant defines from hwdefs
this is set in the periph defaults file
2024-04-09 09:32:15 +10:00
Henry Wurzburg
b0decff44f AP_SCripting: update VTOL QuickTune to allow YAW FLTE = 0 2024-04-09 09:31:42 +10:00
Andy Piper
75978f9d6f AP_HAL_ChibiOS: CB Unmanned Stamp H743 2024-04-09 09:26:40 +10:00
Henry Wurzburg
b69b2324e6 Filter:correct vehicles which can use throttle based notches 2024-04-08 23:11:03 +01:00
Peter Mullen
c0a8e6c96a AP_Scripting: lua range finder driver that returns distances to a simulated sea floor for testing ArduSub surface tracking modes 2024-04-08 11:18:23 -03:00
richaravoil
4cdca46a0c hwdef: adding IMU lines for older version of board 2024-04-08 22:30:57 +10:00
Andrew Tridgell
4933ef3f2d AP_RCProtocol: fixed underflow wrap in GHST 2024-04-07 15:23:47 +10:00
Andrew Tridgell
5a2f711d85 AP_RCProtocol: added random data test
this triggers the CRSF crash bug that was just fixed
2024-04-07 15:23:47 +10:00
Andrew Tridgell
427384eb11 AP_RCProtocol: fixed crc memory range error in CRSF
this fixes a crash bug that caused a watchdog for Henry on a
F765-Wing. The bug happens with corrupt serial data causing an
underflow in the length argument to the crc call
2024-04-07 15:23:47 +10:00
Lanea Lucy S
01b0e0c27c AP_Relay: added relay output invert function 2024-04-06 10:58:43 +11:00
Andy Piper
b9fede8a27 AP_HAL_ChibiOS: fixup FoxeerF405v2 build 2024-04-06 10:13:46 +11:00
Oleksiy Protas
364e6f06f3 AP_HAL_Linux: delay signal handlers setup
Allow default signals before full initialization in Linux, this makes sure we don't get an unkillable process if it hangs on initialization

Exit flag marked volatile to counteract possible compiler optimization due to the handler code running in a different context
2024-04-05 11:36:29 +11:00
Tatsuya Yamaguchi
f1d37fc051 AP_Stats: update flight time on disarm 2024-04-05 11:31:20 +11:00
James O'Shannessy
9dbc61f85b AP_InertialSensor: Fix parameter name when saving persistent accel cals for Aux IMUs
Without this change, you get:
* IMU_ACCOFFS_*
* IMU_ACC2OFFS_*
* IMU_ACC3OFFS_*
* IMU3_ACCOFFS_*

After this change, you get:
* IMU_ACCOFFS_*
* IMU_ACC2OFFS_*
* IMU_ACC3OFFS_*
* IMU4_ACCOFFS_*
2024-04-05 11:02:04 +11:00
Philipp Borgers
1e2600c2e3 AP_Logger_MAVLink: Remove code that changes behavior when in SITL
The removed code changed behavior of the send_log_block function when
simulating with SITL. While I can understand the intention I do not
think that it is the right way to do it and has the potential to confuse
people debugging stuff with SITL and comparing to the real world.
2024-04-05 10:54:26 +11:00
Michael du Breuil
84cef5b786 AP_HAL_ChibiOS: add sw-boom-f407 and supporting scripts 2024-04-05 10:53:38 +11:00
AlexandrShipovsky
ace31e617e AP_HAL_ChibiOS: add CSKY405 board 2024-04-05 10:45:00 +11:00
Andy Piper
fdce070f81 AP_HAL_ChibiOS: allow H7RF to build 2024-04-05 10:23:50 +11:00
Iampete1
d93cc7f113 AP_HAL_SITL: report baudlimit_enable in bw_in_bytes_per_second function 2024-04-03 13:10:06 +01:00
Iampete1
0b95b515bd AP_HAL_SITL: implement uart_info to populate @SYS/uarts.txt 2024-04-03 13:10:06 +01:00
Iampete1
29559b6710 AP_HAL_Empty: update uart_info function for new signature 2024-04-03 13:10:06 +01:00
Iampete1
edc12c2857 AP_HAL_ChibiOS: use new UART stats tracking helper moving history up to util 2024-04-03 13:10:06 +01:00
Iampete1
c64124daf9 AP_HAL: Add StatsTracker helper 2024-04-03 13:10:06 +01:00
Andy Piper
b045939f1d AP_HAL_ChibiOS: FoxeerF405v2 2024-04-03 18:50:52 +11:00
Peter Barker
47716e2338 hwdef: remove stray HAL_BUILD_AP_PERIPH defines
this is added by defaults_periph
2024-04-03 18:36:29 +11:00
Peter Barker
5fb4e1e285 hwdef: replace defined(HAL_DISABLE_LOOP_DELAY) with HAL_SCHEDULER_LOOP_DELAY_ENABLED 2024-04-03 18:36:29 +11:00
Peter Barker
764f6863ea hwdef: re-enable RCIN thread on some builds/boards
not because they need it, but to make a PR NFC
2024-04-03 18:36:29 +11:00
Peter Barker
994c268644 AP_HAL_ChibiOS: replace HAL_NO_RCIN_THREAD w/HAL_RCIN_THREAD_ENABLED 2024-04-03 18:36:29 +11:00
Henry Wurzburg
594c2466d8 HWDEF:revert copter only build on bds with integrated escs 2024-04-03 18:31:54 +11:00