Commit Graph
33 Commits
Author SHA1 Message Date
Peter Hall 7668c24104 AP_Scripting: add airspeed driver bindings 2026-07-29 20:16:37 +01:00
Iampete1 6883ccd2be AP_Scripting: add callback time test script 2026-05-19 10:53:31 +10:00
Christian Clauss 3df6c1bc79 AP_Scripting: support Lua 5.2+ in luacheck test 2026-04-13 20:33:22 +01:00
Iampete1 3048a04f6b AP_Scripting: Luacheck: allow unused arguments prefixed with a underscore 2025-09-15 18:18:55 -05:00
Thomas Watson 81fdbae3ea AP_Scripting: remove utf8 library
Difficult to imagine a use-case and easy to re-implement.

Saves 1280 bytes.
2025-07-15 09:58:44 +10:00
Peter Barker 8aaeef5724 AP_Scripting: docs_check.py: flake8 correctness
... also avoid catching bare exception, handle the case where the regex isn't matching
2025-06-22 09:04:16 +10:00
Christian Clauss e4fb97b745 AP_Scripting: Add # flake8: noqa linter directive 2025-06-20 20:30:15 +10:00
Christian Clauss 966588f714 AP_Scripting: Fix check-shebang-scripts-are-executable 2025-06-15 11:17:47 +10:00
Thomas Watson 962616a76f AP_Scripting: update so mavlink init intent matches behavior
RX message ID buffer sizes have been shrunk to the amount actually used.
2025-02-08 13:52:21 -06:00
Thomas Watson 01964d8cc0 AP_Scripting: demystify require test
Explain more thoroughly how the test works using lessons learned from
studying the compiled bytecode and function data.

Tested that it still fails after reverting the patches in PR #27652.
2025-01-05 10:36:10 +11:00
Thomas Watson da006d427d AP_Scripting: add test for require() after rescheduling
It can end up broken due to incorrect assumptions about the executed
function's upvalues, which might change after rescheduling.
2024-07-30 10:33:56 +10:00
Thomas Watson f9b138724c AP_Scripting: add serial loopback test script
Tests that data can flow both ways with one end using protocol 28
(Scripting) and the other using the serial device simulation feature.
2024-06-27 12:00:18 +10:00
Iampete1 1c26c241f1 AP_Scripting: add uint64 userdata 2024-06-18 10:37:13 +10:00
Iampete1 cb22a6389d AP_Scripting: add virtual class in docs to avoid need nil check warning 2024-06-07 06:30:22 +10:00
Iampete1 364419be81 AP_Scripting: docs: allow overload of manual bindings to allow documentation of optional arguments 2024-06-04 09:29:49 +10:00
Iampete1 f54ca766df AP_Scripting: tests: luacheck.lua: ignore lua-language-server 2024-06-04 09:29:49 +10:00
Iampete1 93642026aa AP_Scripting: tests: check.json: check files it gitignore but not self 2024-06-04 09:29:49 +10:00
Iampete1 cc159a44d5 AP_Scripting: tests: add config files for checks and docs generation 2024-05-21 09:42:22 +10:00
Iampete1 5bb5f442e1 AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
Iampete1 a8b4999d96 AP_Scripting: tests: enforce correct types in docs 2024-05-07 09:51:53 +10:00
Peter Barker 455610a7ad AP_Scripting: correct mavlink_test.lua 2023-12-05 20:15:21 +11:00
Iampete1 87b2000d5c AP_Scripting: Fixup examples for mavlink receive timestamp as uint32 2023-07-04 10:20:42 +10:00
bugobliterator 949f0e36d0 AP_Scripting: change receive_msgid to register_rx_msgid 2023-05-24 19:03:28 +10:00
bugobliterator d056a33dca AP_Scripting: use _chan to mark the methods that are mavlink channel based 2023-05-24 19:03:28 +10:00
bugobliterator 138464cab8 AP_Scripting: remove example/mavlink.lua and fix lua test 2023-05-24 19:03:28 +10:00
bugobliterator e79af89df3 AP_Scripting: add mavlink test 2023-05-24 19:03:28 +10:00
bugobliterator 684f96021d AP_Scripting: add tests for require 2023-04-28 12:36:08 +10:00
Iampete1 f7a14a58fd AP_Scripting: luacheck: check globals 2023-02-22 19:36:02 +11:00
Iampete1 e2fe2d3c57 AP_Scripting: tests: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1 fd1a72cc6d AP_Scripting: add luacheck config 2023-02-15 19:38:46 +11:00
Iampete1 ac633dfe5e AP_Scripting: tests: add docs compare python script 2022-10-19 18:35:32 +11:00
Peter Hall 3f7ab6289d AP_Scripting: move scripting_test.lua from examples to tests 2020-03-19 15:28:39 -07:00
Peter Hall 524d59ad78 AP_Scripting: add math and strings test scripts 2020-03-19 15:28:39 -07:00