mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-08 02:57:16 +08:00
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.
LUA Examples
This directory contains some script examples. For simulation the scripts should be placed in the simulation's "scripts" directory located in the root directory from which the sim is run. Note: if an example uses auxillary files (mission list, other scripts,etc.) the user will have to determine where the files should be placed from the script. If no path name is specified in the file name, then it should be placed one directory level above the "scripts" directory.