Peter Barker
4d39f80d4c
AP_GyroFFT: mark many functions as __INITFUNC__
...
... implying they can go into external flash
2025-02-19 18:01:48 +11:00
Peter Barker
5a2ef8e960
AP_Generator: mark many functions as __INITFUNC__
...
... implying they can go into external flash
2025-02-19 18:01:48 +11:00
Peter Barker
1ec35b57f3
AP_DroneCAN: mark many functions as __INITFUNC__
...
... implying they can go into external flash
2025-02-19 18:01:48 +11:00
Peter Barker
c4428d82cb
AP_Declination: mark declination tables as __EXTFLASHFUNC__
2025-02-19 18:01:48 +11:00
Peter Barker
9351963f78
AP_CANManager: mark many functions as __INITFUNC__
...
... implying they can go into external flash
2025-02-19 18:01:48 +11:00
Peter Barker
b9efab548c
AP_BattMonitor: mark many functions as __INITFUNC__
...
... implying they can go into external flash
2025-02-19 18:01:48 +11:00
Peter Barker
65fca2a37d
AP_HAL: mark many functions as __INITFUNC__
...
... implying they can go into external flash
2025-02-19 18:01:48 +11:00
Peter Barker
3bcd04c4c9
AP_HAL_Linux: move AP_Airspeed configuration into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
1f102d8fb9
AP_Airspeed: move AP_Airspeed configuration into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
cbdaf2be46
AP_InertialSensor: move AP_InertialSensor configuration into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
e3e5199e53
AP_HAL_Linux: move AP_InertialSensor configuration into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
c9e4a7d195
AP_HAL_Linux: move defaulting of ublox speed change into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
8f420defc1
AP_GPS: move defaulting of ublox speed change into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
5181350909
AP_OpticalFlow: move enabling of Onboard OF into bebop hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
05bc0c0669
AP_HAL_Linux: move enabling of Onboard OF into bebop hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
64633197cf
AP_Relay: move defaulting of relay pin params to linux hwdefs
2025-02-19 15:42:52 +11:00
Peter Barker
82ab52a7bf
AP_HAL_Linux: move defaulting of relay pin params to linux hwdefs
2025-02-19 15:42:52 +11:00
Peter Barker
b377a00ae3
AP_HAL: move defaulting of relay pin params to linux hwdefs
2025-02-19 15:42:52 +11:00
Peter Barker
640231c6d5
AP_HAL_Linux: move custom compass rotation into linux hwdefs
2025-02-19 15:42:52 +11:00
Peter Barker
c7a9054d14
AP_Compass: move custom compass rotation into linux hwdefs
2025-02-19 15:42:52 +11:00
Peter Barker
e26ee85cf6
AP_RangeFinder: move enabling of specific rangefinders into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
0feb2d2f53
AP_HAL_Linux: move enabling of specific rangefinders into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
052914c38f
AP_HAL_Linux: move analogue battmonitor configs into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
98570f6456
AP_HAL: move analogue battmonitor configs into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
d22346c3f6
AP_BattMonitor: move analogue battmonitor configs into linux hwdef
2025-02-19 15:42:52 +11:00
Peter Barker
5341690431
AP_Notify: use linux hwdefs to define AP_Notify information
2025-02-19 15:42:52 +11:00
Peter Barker
e6d5efe456
AP_HAL_Linux: use linux hwdefs to define AP_Notify information
2025-02-19 15:42:52 +11:00
Peter Barker
5a60fc1faf
AP_HAL: use linux hwdefs to define AP_Notify information
2025-02-19 15:42:52 +11:00
Peter Barker
dddb4583a6
AP_InertialSensor: start tidying Linux GPIO
2025-02-19 15:42:52 +11:00
Peter Barker
a8374a28f3
AP_HAL_Linux: start tidying Linux GPIO
2025-02-19 15:42:52 +11:00
Peter Barker
6d1cea44dd
AP_HAL: start tidying Linux GPIO
2025-02-19 15:42:52 +11:00
Peter Barker
eaf0feef44
AP_HAL_Linux: specify Linux SPI devices in hwdefs
2025-02-19 15:42:52 +11:00
Peter Barker
d60a7e5f93
AP_HAL_Linux: factor functionality in hwdef.py classes
2025-02-19 15:42:52 +11:00
Peter Barker
0c0278a70d
AP_HAL: factor functionality in hwdef.py classes
2025-02-19 15:42:52 +11:00
Peter Barker
51729e62a5
AP_HAL_ChibiOS: factor functionality in hwdef.py classes
2025-02-19 15:42:52 +11:00
Peter Barker
d0510b0a26
AP_HAL_ChibiOS: chibios_hwdef.py: inherit from hwdef.py
2025-02-19 15:42:52 +11:00
Peter Barker
6004ed44c7
AP_HAL_Linux: add and use linux_hwdef.py
...
like chibios_hwdef.py - but for Linux
2025-02-19 15:42:52 +11:00
Peter Barker
7ce9ec2c61
AP_HAL: add and use linux_hwdef.py
...
like chibios_hwdef.py - but for Linux
2025-02-19 15:42:52 +11:00
Peter Barker
d31889854c
chibios_hwdef.py: prune out unused hal.i2c_mgr parsing code
...
we have GET_I2C_DEVICE now-adays
2025-02-19 15:42:52 +11:00
Henry Wurzburg
984409ca82
RC_Channel: add AUTOLAND AUX Function
2025-02-19 10:51:25 +11:00
Randy Mackay
ebbf3998b6
AP_Proximity: add Hexsoon radar support
2025-02-18 16:38:12 +09:00
Randy Mackay
7fbad0bea3
AP_Arming: integrate NanoRadar to RadarCAN rename
2025-02-18 16:38:12 +09:00
Randy Mackay
0abb0a70f0
AP_RangeFinder: integrate RadarCAN rename
2025-02-18 16:38:12 +09:00
Randy Mackay
4f3981ce27
AP_CANManager: rename NanoRadar to RadarCAN
2025-02-18 16:38:12 +09:00
Iampete1
9da6be2ef8
RC_Channel: Document EKF lane switch and yaw reset aux functions.
2025-02-18 14:19:51 +09:00
Thomas Watson
7a6861e28d
AP_Filesystem: FATFS: drop tty check logic
...
In Standard C, the first three file descriptors are usually standard in,
out, and error. However, ArduPilot doesn't have a concept of this and
other backends (such as LittleFS) don't bother to reject them.
Remove this logic to simplify implementation and allow use of more open
files.
2025-02-18 12:33:37 +11:00
Peter Barker
5fcac2b304
SITL: add instructions for testing MaxSonarI2CXL in SITL
2025-02-18 11:34:10 +11:00
Peter Barker
fd1ade76ca
SITL: clamp rangefinder distance to 0m
...
our starting positions are often underground
2025-02-18 11:34:10 +11:00
Peter Barker
e348c6e7a3
AP_Rangefinder: avoid OwnPtr for MaxSonarI2CXL I2CDevice
2025-02-18 11:34:10 +11:00
abaghiyan
9893017f3c
AP_TECS: Corrected formula for _TASmin according to fix in formula for the load factor
...
To connect loadFactor to airspeed we can use formula of balancing between lift force and gravity force:
liftForce = loadFactor * gravityForce; on the other hand lift force can be expressed as
liftForce = 0.5 * lifCoefficient * airDensity * sq(airspeed) * referenceArea; minimum airseepd is at loadFactor = 1
and lift force only balances the gravit force, so gravity force (which is same as lift force at minimum airspeed) with minimum airspeed can be expressed as
gravityForce = 0.5 * lifCoefficient * airDensity * sq(airspeed_min) * referenceArea; substituting gravit force in previous formula gives us
0.5 * lifCoefficient * airDensity * sq(airspeed) * referenceArea = loadFactor * 0.5 * lifCoefficient * airDensity * sq(airspeed_min) * referenceArea;
from where we get:
loadFactor = sq(airspeed / airspeed_min); and_TASmin should be
_TASmin *= safe_sqrt(_load_factor);
2025-02-18 10:53:06 +11:00