Commit Graph

264 Commits

Author SHA1 Message Date
Randy Mackay e914c38cef AP_Scripting: winch-test becomes winch-control applet 2023-10-03 12:13:06 +11:00
Randy Mackay 0c16049f94 AP_Scripting: winch-test param name typo fix 2023-10-03 12:13:06 +11:00
Clyde McQueen 924a391d55 AP_Scripting: add sub bindings for joystick buttons 2023-09-27 08:14:36 +10:00
Buenobarbie 5748e7b840 AP_Scripting: New script example 2023-09-27 08:14:15 +10:00
Randy Mackay bb6d0ec9ca AP_Scripting: winch-test simplification 2023-09-26 11:12:19 +10:00
Iampete1 2c1dde8019 AP_Scripting: Examples: UART log: remove spaces in log description 2023-09-12 08:46:00 +10:00
Ryan Friedman a4bdf39e2e AP_Scripting: Remove executable permissions
* The Lua scripts are not directly invoked - they have no shebang, so they shouldn't be executable

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-09-08 17:09:26 +10:00
Stephen Dade 50dc591b55 AP_Scripting: Account for nil battery in Rockblock and MAVLink_HL scripts 2023-08-02 12:18:46 +10:00
Andrew Tridgell 0f8d618102 AP_Scripting: added bindings for VTOL motor loss
this allows a script to take an action on loss of a VTOL motor
2023-07-13 08:03:52 +10:00
Stephen Dade c73fa82d07 AP_Scripting: Add SET_MODE support for Rockblock lua script and mavlink example 2023-07-07 13:15:09 +10:00
Iampete1 ceca374f23 AP_Scripting: add MAVLink command long and ack examples 2023-07-04 10:20:42 +10:00
Iampete1 2eaad47bf8 AP_Scripting: examples: plane-wind-fs: fixup for luacheck 2023-06-18 18:17:37 +10:00
Andrew Tridgell 8cb638b7e1 AP_Scripting: added Halo6000 generator/EFI driver
used to monitor Foxtech Halo6000 generator for Thor210 hexacopter
2023-05-30 21:04:34 +10:00
bugobliterator 138464cab8 AP_Scripting: remove example/mavlink.lua and fix lua test 2023-05-24 19:03:28 +10:00
bugobliterator 076d00fd1e AP_Scripting: add mavlink support to scripting 2023-05-24 19:03:28 +10:00
Michael du Breuil 598919d8ad AP_Scripting: Support sending MAVLink buffers from scripts 2023-05-24 19:03:28 +10:00
Andrew Tridgell 601036c07b AP_Scripting: added example that slew a servo with controls
useful for measuring servo capabilities by looking at achieved
deflection vs frequency
2023-05-03 15:23:01 +10:00
Stephen Dade e01b359462 AP_Scripting: Check for battery in MAVLinkHL and Rockblock 2023-05-03 09:59:53 +10:00
Robert Taylor ebef532258 AP_Scripting: Add EFI state get example 2023-04-18 10:31:01 +10:00
Randy Mackay 5d29935039 AP_Scripting: add camera-test example script 2023-04-13 07:04:46 +10:00
Randy Mackay bc9342a398 AP_Scripting: move mount-poi to applets directory 2023-04-13 07:04:22 +10:00
Andrew Tridgell 3eb9d119ea AP_Scripting: added wrap32_test.lua for testing wrap32 usec bdshot bug 2023-03-24 08:31:25 +11:00
Randy Mackay bf0d096276 AP_Scripting: copter deadreckoning moved to applet directory 2023-03-18 08:55:21 +09:00
Andrew Tridgell c00e047d87 AP_Scripting: added mission_spiral.lua example
useful for creating very large missions with a distinctive pattern
2023-03-10 14:13:55 +11:00
Tom Pittenger 1fe4b6b7e3 AP_Scripting: Add example JUMP_TAG scripts 2023-02-28 12:00:18 +11:00
Tom Pittenger 54e56beba8 AP_Scripting: fix doc warnings 2023-02-23 13:07:08 -08:00
Stephen Dade 0b048b4b42 AP_Scripting: Add Mavlink example 2023-02-21 22:32:32 +11:00
rishabsingh3003 0f827653c4 AP_Scripting: Add lua driver for Benewake H30 2023-02-21 16:47:56 +11:00
Iampete1 03167d41db AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 c5c7863829 AP_Scripting: add bindings for E-stop, Interlock and Safety state 2023-02-07 10:24:18 +11:00
Andrew Tridgell 29f124543b AP_Scripting: added custom telem msgs for EFI_Skypower driver
also:
- and added parameter for enable/disable start when disarmed
- added logging for extra fields not in EFI logging
- fixed endianness of EFI tester
2023-01-24 10:25:12 +11:00
Nicholas (Nick) Kruzan 0dc878564f AP_Scripting:examples - rangefinder_test.lua : Minor Spelling Correction
Ratation -> Rotation
2023-01-18 12:01:40 +00:00
Henry Wurzburg 71099c881d AP_Scripting: add error check to mission_load.lua 2023-01-17 10:24:08 +11:00
Andrew Tridgell 10c5ecb46a AP_Scripting: added example for generator throttle control 2023-01-10 10:19:51 +11:00
Andrew Tridgell ef3016eff0 AP_Scripting: added a simple example of the load() function 2022-11-28 06:23:29 +11:00
Andrew Tridgell 8c671c8b29 AP_Scripting: removed old aerobatics system 2022-11-10 13:53:15 +11:00
Andrew Tridgell bf34bea4d6 AP_Scripting: moved aerobatics to applets/Aerobatics/FixedWing/ 2022-11-10 13:53:15 +11:00
Andrew Tridgell a98b9f2c44 AP_Scripting: removed old AUTO_MIS parameters
this mechanism not needed any more now we have full schedules
2022-11-10 12:27:53 +11:00
Andrew Tridgell 8637b2098f AP_Scripting: allow aerobatic sequences to load from a txt file
this allows for complex sequences to be defined in a file like
"trick72.txt"

the example shows how it is done
2022-11-09 09:03:37 +11:00
Andrew Tridgell e6af416f94 AP_Scripting: fixed yaw glitch on init in aerobatics 2022-11-08 08:44:23 +11:00
Andrew Tridgell 6a3c7f8cf6 AP_Scripting: get ahrs state once at the start of each loop
this minimises the impact of slow lua scripting
2022-11-07 21:22:43 +11:00
Andrew Tridgell 228b4adda0 AP_Scripting: fixed initial tangent 2022-11-07 21:22:43 +11:00
Andrew Tridgell d7c0a1025e AP_Scripting: use actual_dt for ef rate update
this seems to work more consistently for now
2022-11-07 21:22:43 +11:00
Andrew Tridgell 833c18d4ae AP_Scripting: added sideslip filter 2022-11-07 21:22:43 +11:00
Andrew Tridgell 8fc3a725ce AP_Scripting: fixed path rate to use right time scaling 2022-11-07 21:22:43 +11:00
Andrew Tridgell 9874d4196d AP_Scripting: new specific force sideslip control
and fixed dt handling to match quaternion delta
2022-11-07 21:22:43 +11:00
Andrew Tridgell 2fb90fb5dd AP_Scripting: fixed chaining of orientations
use tangent rotation to accumulate orientations
2022-11-07 21:22:43 +11:00
andypnz 7fa45e343f AP_Scripting: F3A path adjustments 2022-11-07 15:54:51 +11:00
Andrew Tridgell b924e6dca5 AP_Scripting: tidy airshow and add triple show
triple show is a demo of how to combine schedules
2022-11-05 12:19:02 +11:00
Andrew Tridgell 29060be8a9 AP_Scripting: improve knife-edge in aerobatics
thanks to Paul Riseborough for helping with yaw rate adjustment in knifeedge
2022-11-05 12:19:02 +11:00