Commit Graph

23 Commits

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