Commit Graph

61583 Commits

Author SHA1 Message Date
Peter Barker
68d8a2606d AP_InertialSensor: SITL: call logging singleton methods only if available 2024-01-03 18:33:41 +11:00
Peter Barker
3ed8a434ce AP_AHRS: add missing SITL header include
the singleton is used in this file
2024-01-03 18:33:10 +11:00
Peter Barker
c22794d078 AP_Periph: add missing SITL includes
these are required for compilation when other things are introduced
2024-01-03 18:33:10 +11:00
Peter Barker
b43f4f78a3 SITL: add missing includes for SITL object 2024-01-03 18:33:10 +11:00
Peter Barker
8fb1f6f02c AP_Camera: correct compilation when AP_CAMERA_RELAY_ENABLED is 0
... like on skyviper-v2450
2024-01-03 18:05:08 +11:00
Peter Barker
ed1ae3b5f1 chibios_hwdef.py: add quiet option to remove parsing debug output 2024-01-03 18:04:37 +11:00
Peter Barker
24f7ff7b61 autotest: Use contexts to control script lifetimes in networking tests
this way if the test gets an exception part-way through the scripts are removed from the directories appropriately
2024-01-03 17:36:10 +11:00
Peter Barker
dd0a7a551b AP_AHRS: do not compile AP_AHRS.cpp if AP_AHRS_ENABLED is 0
on Periph we end up not having a default backend, which is a compilation failure
2024-01-03 17:35:54 +11:00
Peter Barker
f4d51fd8f5 AP_OpticalFlow: cope if AP_AHRS_ENABLED is 0 2024-01-03 17:35:54 +11:00
Peter Barker
1e41030167 AP_AHRS: cope with AP_INERTIAL_SENSOR being 0 2024-01-03 17:35:54 +11:00
Peter Barker
eec43c204f AP_Compass: cope with AP_INERTIAL_SENSOR being 0 2024-01-03 17:35:54 +11:00
Peter Barker
78087da03c GCS_MAVLink: correct compilation when AP_MISSION_ENABLED is false 2024-01-03 16:16:47 +11:00
Peter Barker
6d2c857db9 AP_Arming: correct compilation when AP_MISSION_ENABLED is false 2024-01-03 16:16:47 +11:00
Peter Barker
17f311ef32 AP_Vehicle: correct compilation when AP_MISSION_ENABLED is false 2024-01-03 16:16:47 +11:00
Peter Barker
368593c2c6 AP_Mission: correct compilation when AP_MISSION_ENABLED is false 2024-01-03 16:16:47 +11:00
Iampete1
a44cba03ef AP_Logger: Write_PID: add reset and I terms set flags 2024-01-03 12:28:59 +09:00
Iampete1
d53b73468b AC_PID: add reset and I term set flags to PIDInfo 2024-01-03 12:28:59 +09:00
Iampete1
9146458d4a AC_PID: remove unused set_integrator methods 2024-01-03 12:28:59 +09:00
Iampete1
2d75b0312e AC_PID: return P and D as output with slew limit and sum limit applyed 2024-01-03 12:28:59 +09:00
Iampete1
5065770e30 AC_PID: tidy interface 2024-01-03 12:28:59 +09:00
Andrew Tridgell
a841e9c109 AP_Scripting: don't throw an exception on out of sockets in accept()
normal lua sockets don't throw an exception on accept, it just returns
nil
2024-01-03 12:14:47 +11:00
Andrew Tridgell
791a0a3230 AP_Networking: use HAL objects more directly
and fix a ms/us bug
2024-01-03 12:14:47 +11:00
Andrew Tridgell
f5bee94cba AP_Networking: added evtimer wrapper 2024-01-03 12:14:47 +11:00
Andrew Tridgell
cc8c671cb7 HAL_ChibiOS: don't link evtimer in chibios_board.mk 2024-01-03 12:14:47 +11:00
Andrew Tridgell
f0a1a19f8b AP_Networking: allow discard test to be paused 2024-01-03 12:14:47 +11:00
Andrew Tridgell
ab24d8768f AP_Networking: disable on MacOSX 2024-01-03 12:14:47 +11:00
Andrew Tridgell
f4e731781d CI: debug ppp install 2024-01-03 12:14:47 +11:00
Andrew Tridgell
f96810bb22 AP_RCProtocol: fixed example build 2024-01-03 12:14:47 +11:00
Andrew Tridgell
702fe9c18d AP_Networking: only enable networking on Linux, ChibiOS and SITL 2024-01-03 12:14:47 +11:00
Andrew Tridgell
983a680b2b AP_Networking: small improvement to ethernet throughput 2024-01-03 12:14:47 +11:00
Andrew Tridgell
af47beebfc AP_Networking: fixed discard test on PPP
and fixed byte order bug
2024-01-03 12:14:47 +11:00
Andrew Tridgell
8fcc7d5a51 AP_Networking: fixed ChibiOS backend with 16 bit timer 2024-01-03 12:14:47 +11:00
Andrew Tridgell
b340b5f8ca Tools: added PPP as a build option 2024-01-03 12:14:47 +11:00
Andrew Tridgell
eb6c62f319 CI: added CubeOrange-PPP build test 2024-01-03 12:14:47 +11:00
Andrew Tridgell
229a527fed AP_Networking: use BinarySemaphore 2024-01-03 12:14:47 +11:00
Andrew Tridgell
1e7ca34531 AP_HAL: socket native fix 2024-01-03 12:14:47 +11:00
Andrew Tridgell
34c737de36 HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
8aaedccacc Tools: install ppp in ubuntu 2024-01-03 12:14:47 +11:00
Andrew Tridgell
39f029d60b CI: install ppp for rover test 2024-01-03 12:14:47 +11:00
Andrew Tridgell
60bfcf3cdc autotest: added a web server test
both native sockets and PPP
2024-01-03 12:14:47 +11:00
Andrew Tridgell
adffd93894 SITL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
213cdcef4b AP_Scripting: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
b3fbc7edb0 AP_RCProtocol: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
f8d64afc69 AP_IRLock: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
69df468b88 AP_HAL_SITL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
931bae5b88 AP_HAL_Linux: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
ef67fa4293 AP_HAL: use SocketAPM_native 2024-01-03 12:14:47 +11:00
Andrew Tridgell
cbb3e27519 AP_HAL: added SocketAPM_native
this is a varient of SocketAPM that always uses native sockets
(ie. doesn't go via AP_Networking lwip)
2024-01-03 12:14:47 +11:00
Andrew Tridgell
c85f4f875c Tools: disable lwip with clang 2024-01-03 12:14:47 +11:00
Andrew Tridgell
2048631526 AP_Networking: ensure PPP does not dominate the CPU 2024-01-03 12:14:47 +11:00