Michael du Breuil
b45970fded
AP_Scripting: Add location and ahrs user data
2019-02-01 14:31:05 -07:00
Michael du Breuil
9dd36ba511
AP_Scripting: Factor out common range constraints
2019-02-01 14:31:05 -07:00
Michael du Breuil
d38dde82fe
Lua: revert including lmem
2018-12-31 19:25:23 -07:00
Michael du Breuil
c191789651
AP_Scripting: Use dedicated heap
2018-12-31 19:25:23 -07:00
Michael du Breuil
0ede7b7d39
AP_Scripting: Catch lua panics
2018-11-26 22:32:56 +00:00
Michael du Breuil
2afe72d79f
AP_Scripting: Swap reschedule to be callback, delay
2018-11-14 01:41:35 +00:00
Michael du Breuil
ecb1a433b1
AP_Scripting: Add more runtime sanity checks
2018-11-14 01:41:35 +00:00
Michael du Breuil
40d5e233d4
AP_Scripting: Autostart all scripts in a given folder
2018-11-14 01:41:35 +00: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
a2a8ac15b3
AP_Scripting: Add access to SRV_Channels::set_output_pwm
...
This also provides a more intresting function, with range checking. We
could choose to ignore this range checking and leave the script author
responsible for managing this, but it's probably better to protect the
author from themselves as much as possible, even if it makes the API
binding harder to automate
2018-10-30 16:17:03 -07: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
e421599e4f
AP_Scripting: Hide lua IO for now
2018-10-09 10:08:52 +11:00
Michael du Breuil
513e5946bb
AP_Scripting: Add Lua 5.3.5 source
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