Andrew Tridgell
35149ae8b2
AP_Scripting: allow scripting startup with no sdcard
...
as scripts can be in ROMFS we should still create the thread without
the scripts directory
2021-02-25 11:34:39 -07:00
Iampete1
97b44dfe71
AP_Scripting: add DIR_DISABLE param
2020-10-28 19:22:45 +11:00
Henry Wurzburg
8bfda973db
AP_Scripting: Add user accessable script parameters
2020-07-19 14:18:39 +10:00
Rishabh
c53d42e665
AP_Scripting: Remove send_text if directory is created
2020-06-23 10:42:41 +10:00
Rishabh
bd7190767e
AP_Scripting: Create scripts folder automatically
2020-06-20 21:39:06 +10:00
Michael du Breuil
d50e9865bd
AP_Scripting: Delete the lua object if we failed to allocate the required memory
2020-03-28 21:16:09 +11:00
Michael du Breuil
d7a59bc449
AP_Scripting: Reduce the sleep time with no scripts
...
Lowering the sleep time when no scripts are pending, causes starting a
REPL session to respond much faster (this cuts the latency from up to 10
seconds to 1 second before the session is ready to start).
Also lowers the default scripting debug level to hide the statustext
from users, as in the general case this is just a spammy message if it
occurs, and we should be finding better reporting bits to get this to
the user.
2020-02-19 13:24:23 -07:00
Michael du Breuil
cf06beb1e6
AP_Scripting: Add support for REPL over MAVLink
2020-02-18 17:23:22 -07:00
Peter Barker
d24d1c587a
AP_Scripting: add documentation for DEBUG_LVL parameter
2020-02-18 20:25:58 +09:00
Michael du Breuil
2291702473
AP_Scripting: Raise SITL default heap size
2020-01-13 20:06:31 -07:00
Andrew Tridgell
b69afff6a7
AP_Scripting: increase heap size (again)
2019-12-20 19:51:46 -07:00
Randy Mackay
c78112564c
AP_Scripting: init sends failure message
2019-12-03 12:48:32 +08:00
Randy Mackay
09d75cff3b
AP_Scripting: add init failure check
2019-12-03 12:48:32 +08:00
Andrew Tridgell
38ba08e0ce
AP_Scripting: increase default heap size
...
we will need a better fix than this. Adding a couple of bindings costs
us nearly 1k of ram even if unused
2019-11-04 13:01:59 +11:00
Michael du Breuil
df8c9e5825
AP_Scripting: Raise default heap size
2019-10-15 15:35:12 -06:00
Michael du Breuil
cf94a02207
AP_Scripting: Stop running scripts if the enable flag ever goes false
2019-10-15 15:35:12 -06:00
Michael du Breuil
0054544bd3
AP_Scripting: Add support for enums to be passed through
2019-07-19 09:34:05 +09:00
Michael du Breuil
0ed3c547fd
AP_Scripting: Disable by default, fix a nullable type, update README
2019-06-18 00:06:32 -07:00
Michael du Breuil
d7e71f85b8
AP_Scripting: Add a debug level param
2019-04-11 23:03:20 -07:00
Michael du Breuil
c191789651
AP_Scripting: Use dedicated heap
2018-12-31 19:25:23 -07:00
Michael du Breuil
19a8c5a6ed
AP_Scripting: Run multiple scripts at once
2018-11-14 01:41:35 +00:00
Michael du Breuil
b0a84ab7cf
AP_Scripting: Enforce a time limit for a script
2018-11-14 01:41:35 +00:00
Michael du Breuil
2c3fe0cbcf
AP_Scripting: Load a sandbox enviorment
2018-10-30 16:17:03 -07:00
Michael du Breuil
beaa069082
AP_Scripting: Disable lua coroutines
2018-10-30 16:17:03 -07:00
Michael du Breuil
68576eff32
AP_Scripting: Initial test script
2018-10-09 10:08:52 +11:00
Michael du Breuil
8049c64a5b
AP_Scripting: Create a thread and spin
2018-10-09 10:08:52 +11:00
Michael du Breuil
f2a31866aa
AP_Scripting: Initial scripting framework
2018-10-09 10:08:52 +11:00