Commit Graph

61 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 ba97a422b4 AP_WindVane: correct sitl-on-hardware build for Rover 2024-01-16 12:41:18 +11:00
Peter Barker c4dc0ae101 AP_WindVane: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Peter Barker 673fad04de AP_WindVane: correct compilation when GCS library not available 2023-12-12 11:41:47 +11:00
Peter Barker ff86e2dda8 AP_WindVane: add and use AP_WINDVANE_*_ENABLED defines 2023-12-12 09:28:58 +11:00
Ryan Friedman 2335a25ec8 AP_WindVane: Change from DOS to UNIX line endings
* This file had DOS line endings and ArduPilot uses UNIX endings
* This fixes a pre-commit violation

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-09-08 17:09:26 +10:00
murata 5825ab4dc6 AP_WindVane: Enable SITL when it is selected 2023-06-17 14:48:49 +10:00
Rhys Mainwaring c4a86919bb AP_WindVane: use body frame when setting apparent wind in sitl physics backend
- Change behaviour to expect apparent wind in body rather than NED frame.
- Remove dependency on AP::ahrs().yaw.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-03-15 12:58:49 +00:00
Iampete1 34d2a5acaa AP_WindVane: add Arduino script and readme to allow conection to Bluetooth wind-vane 2022-12-20 12:13:46 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker a638060ce5 AP_Windvane: correct compilation for header changes 2022-09-27 09:26:45 +10:00
Peter Barker 61a8d6311b AP_WindVane: add and use AP_RPM_ENABLED
... and backend-specific equivalents
2022-09-20 09:28:27 +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
Josh Henderson 0e662bbf35 AP_WindVane: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
TunaLobster 0b2ebfefda AP_WindVane: fix ADC scaling on IOMCU 2021-11-16 14:12:43 +11:00
murata 511dec01c5 AP_WindVane: Make the char_to_hex method a common method 2021-11-09 10:16:25 +11:00
Iampete1 f50326c154 AP_WindVane: check for valid analog pins 2021-10-06 18:42:51 +11:00
Peter Barker 1387ed06bd AP_WindVane: remove empty contructors 2021-08-25 20:42:23 +10: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
Andrew Tridgell 25057d26a0 AP_WindVane: default pins to -1 2021-07-22 07:48:12 +10:00
Andrew Tridgell 7fadbba086 AP_WindVane: fixed copying of filter objects 2021-06-08 11:14:52 +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 ab1d54745d AP_WindVane: convert analog sensor to use latest value 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
Iampete1 89217a3804 AP_WindVane_NMEA: decode each sentence once 2020-07-29 17:40:03 +10:00
Rishabh 59af2fcbbb AP_WindVane: Fix duplicate values in Param 2020-03-24 10:26:04 +11:00
Andrew Tridgell 4f54d9b75f AP_WindVane: convert to new get_rpm() API 2020-03-12 08:36:40 +11:00
Andrew Tridgell 1ec921560e AP_WindVane: use strtof instead of atof
we don't need double precision
2019-10-28 15:53:16 +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 aa32a0d143 AP_Windvane: fix NMEA vehicle to earth frame 2019-06-08 09:48:03 +09:00
Peter Hall 49003868fe AP_Windvane: add NMEA wind sensor type 2019-06-03 10:48:19 +09:00
Peter Hall f26e1dc8e8 AP_WindVane: add modern devices rev p cal 2019-05-28 08:35:58 +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