Commit Graph

42 Commits

Author SHA1 Message Date
Andrew Tridgell db6bcdb725 AP_WindVane: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker 9a853b3d4a AP_WindVane: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Peter Barker c4dc0ae101 AP_WindVane: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Peter Barker ff86e2dda8 AP_WindVane: add and use AP_WINDVANE_*_ENABLED defines 2023-12-12 09:28:58 +11:00
murata 5825ab4dc6 AP_WindVane: Enable SITL when it is selected 2023-06-17 14:48:49 +10:00
Peter Barker a638060ce5 AP_Windvane: correct compilation for header changes 2022-09-27 09:26:45 +10:00
Iampete1 5893df9d9e AP_WindVane: params always use set method 2022-08-03 13:43:48 +01:00
Peter Barker 3592132774 AP_WindVane: tidy includes 2022-05-03 09:14:58 +10:00
Peter Barker e93be25ed4 AP_WindVane: include cleanups 2022-03-01 11:21:33 +11:00
TunaLobster 0b2ebfefda AP_WindVane: fix ADC scaling on IOMCU 2021-11-16 14:12:43 +11:00
Andrew Tridgell 11afdb1ef2 AP_WindVane: mark logger Write() calls as streaming where appropriate 2021-08-18 10:20:03 +10:00
Andrew Tridgell b0fc5c3041 AP_WindVane: replaced PixhawkAUX1 with AUX1
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Iampete1 19dfbb19e9 AP_Windvane: set raw wind to zero if no speed sensor 2021-05-16 15:04:00 +01:00
mikeSITL 2f69281040 AP_Windvane: true wind if no windspeed fixed 2021-05-16 15:04:00 +01:00
Iampete1 29534a7e2d AP_Windvane: set true to apparent if no speed sensor 2021-04-28 15:16:35 +10:00
Iampete1 974293ca3f AP_Windvane: move RC_IN_NO to RCx_OPTION 2021-04-28 15:16:35 +10:00
Iampete1 bf651ea1d9 AP_WindVane: rework filtering and add logging 2021-04-28 15:16:35 +10:00
Patrick José Pereira 03582ff77c AP_WindVane: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Iampete1 608e1dcdc4 AP_WindVane: report apparent wind with named float 2020-09-30 17:03:58 +10:00
Iampete1 917358e4a5 AP_WindVane: add apparent wind SITL types 2020-09-09 18:26:54 +10:00
Rishabh 59af2fcbbb AP_WindVane: Fix duplicate values in Param 2020-03-24 10:26:04 +11:00
Peter Hall 4c62fe6c72 AP_Windvane: caculate vehicles current tack 2019-09-26 18:23:03 +09:00
Peter Hall 102a231c3f AP_WindVane: rename abs to true wind 2019-09-11 11:22:12 +09:00
Peter Hall 3dd0ebaf0d AP_WindVane: add wind_speed_enabled method 2019-09-01 09:11:25 +09:00
Peter Hall 49003868fe AP_Windvane: add NMEA wind sensor type 2019-06-03 10:48:19 +09:00
Peter Hall 9dba9867c6 AP_WindVane: mini onion 2019-05-28 08:35:58 +09:00
IamPete1 4bb28eb63c AP_Windvane: add rpm wind speed snesor type 2019-02-26 09:58:56 +09:00
Peter Barker 1e57265eb6 AP_WindVane: remove include of boardconfig; unused on all boards 2019-01-18 09:53:44 +11:00
Andrew Tridgell 6458fdc917 AP_WindVane: fixed shadowed variable 2018-12-31 11:21:07 +09:00
Randy Mackay 0aaa6bf054 AP_WindVane: rename variables and parameters
also update comments and parameter descriptions
remove redundant wrap_PI
2018-11-01 18:04:19 +09:00
Randy Mackay ecd1f8e658 AP_WindVane: add send_wind 2018-11-01 18:04:19 +09:00
IamPete1 bc1cf6a87a AP_WindVane: add wind speed 2018-11-01 18:04:19 +09:00
Randy Mackay ff4ef4968e AP_WindVane: switch x and y in read_SITL_direction_ef 2018-11-01 18:04:19 +09:00
Randy Mackay 836237cc49 AP_WindVane: update parameter descriptions 2018-11-01 18:04:19 +09:00
IamPete1 67d698fda3 AP_Windvane: add wind direction note 2018-10-09 16:27:10 +09:00
Randy Mackay cb03a35737 AP_WindVane: fix typo on record_home_heading 2018-10-07 15:46:48 +09:00
Randy Mackay 7519a28e8c AP_WindVane: remove destructor 2018-09-28 10:40:12 +09:00
Randy Mackay 743ef9dfe6 AP_WindVane: correct parameter descriptions 2018-09-28 10:40:12 +09:00
Randy Mackay 30f20827ec AP_WindVane: add calibration voltage check
also support starting calibration via mavlink message
2018-09-28 10:40:12 +09:00
Randy Mackay 31e2d5d2ad AP_WindVane: updates after peer review
rename get_instance to get_singleton
update expected to be called at 20hz
filters moved into AP_WindVane scope and dt fixed
apparent wind direction stored locally in earth-frame and read_ functions renamed to reflect this
panic only called for SITL
analog pin init changed and assume voltage is radiometric
some renames of "bearing" to "distance"
some redundant constraints removed
2018-09-28 10:40:12 +09:00
Randy Mackay ce397161bf AP_WindVane: add SITL driver 2018-09-28 10:40:12 +09:00
IamPete1 b54e3df57c AP_WindVane: library to read wind direction from sensor 2018-09-28 10:40:12 +09:00