Commit Graph

48 Commits

Author SHA1 Message Date
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
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