Commit Graph
4 Commits
Author SHA1 Message Date
Peter Barker ff67931891 AP_Scripting: use ahrs:get_wind in examples and applets
ahrs:wind_estimate() is deprecated.  Scripts which already checked the
returned value for nil now get a check which actually means something;
the rest fall back to a zero wind vector, which is what they were
already getting from an invalid estimate in most cases.
2026-07-28 13:48:28 +10:00
Iampete1 0dbbb87ce2 AP_Scripting: fix remaining luacheck issues 2024-12-24 14:48:58 -06:00
Iampete1 03167d41db AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Peter Barker b0549c7569 AP_Scripting: add example to warn and then RTL based on wind speed
This was written at CubePilot 2019 as part of a workshop.

Blame MdB
2019-12-05 18:31:53 -07:00