Andrew Tridgell
ca584943a5
AP_Scripting: added bindings for servo output
5 years ago
Andrew Tridgell
6222649e37
AP_Scripting: avoid build warnings
5 years ago
Michael du Breuil
75b133926f
AP_Scripting: Cleanups to remove false posive warnings
5 years ago
Michael du Breuil
d50e9865bd
AP_Scripting: Delete the lua object if we failed to allocate the required memory
5 years ago
Michael du Breuil
6753e99604
AP_Scripting: Add a return around luaL_error
...
This is the normal method of calling luaL_error which longjmp's away,
and it helps the static analysis tools realize that anything afterwards
will not be reached
5 years ago
Andrew Tridgell
5047eb88e2
AP_Scripting: use @ROMFS
5 years ago
Andrew Tridgell
ebec738b88
AP_Scripting: enable lua scripts in ROMFS
5 years ago
Andrew Tridgell
a91c587ef3
AP_Scripting: use new DirHandle for directory listings
5 years ago
bugobliterator
edaf9fa086
AP_Scripting: remove unused user of realloc from lua
5 years ago
Peter Hall
3f7ab6289d
AP_Scripting: move scripting_test.lua from examples to tests
5 years ago
Peter Hall
524d59ad78
AP_Scripting: add math and strings test scripts
5 years ago
Randy Mackay
05b563cf54
AP_Scripting: fixup comment in set-target-location example script
5 years ago
Randy Mackay
0846746932
AP_Scripting: add copter-fly-vertical-circle example script
5 years ago
Randy Mackay
fa0fb9ef34
AP_Scripting: add set-target-velocity example script
5 years ago
Randy Mackay
d7fb84c765
AP_Scripting: make bindings
5 years ago
Randy Mackay
60b3c6ca94
AP_Scripting: add bindings for start_takeoff and set_target_velocity_NED
5 years ago
Peter Hall
d37efe1b38
AP_Scripting: regenerate bindings
5 years ago
Peter Hall
67bfedd845
AP_Scripting: add button example script
5 years ago
Peter Hall
f5052b68a8
AP_Scripting: add binding for AP_Button get_button_state
5 years ago
Andrew Tridgell
87b97f8bee
AP_Scripting: added a VTOL failsafe example script
...
if fwd motor is lost try to make best effort to get home
5 years ago
Andrew Tridgell
e815b97c66
AP_Scripting: regenerate bindings
5 years ago
Andrew Tridgell
564740f06b
AP_Scripting: added get_vibration and get_target_location bindings
5 years ago
Andrew Tridgell
be7e142888
AP_Scripting: regenerate bindings for RPM
5 years ago
Andrew Tridgell
609b535dda
AP_Scripting: added RPM interface
5 years ago
Peter Barker
19249a13fd
AP_Scripting: tell the user where their scripts directory is on failure
5 years ago
Peter Hall
e95e996cc4
AP_Scripting: Add led matrix examples
5 years ago
Peter Hall
bf76a8c727
AP_Scripting: update LED_roll example
5 years ago
Peter Hall
8dccea4a15
AP_Scripting: regenerate bindings
5 years ago
Peter Hall
426f5e6180
AP_Scripting: support ProfiLEDs
5 years ago
Randy Mackay
1486421581
AP_Scripting: rename arming-check-batt-temp example script
5 years ago
Randy Mackay
2526aaeb74
AP_Scripting: set-target-location example script
5 years ago
Randy Mackay
ae8c8b71b2
AP_Scripting: make bindings
5 years ago
Randy Mackay
989241a6bd
AP_Scripting: fix limits on Location alt field binding
5 years ago
Randy Mackay
e8699ab9fe
AP_Scripting: add Location.alt to bindings
5 years ago
Randy Mackay
1e2fc444b6
AP_Scripting: add set_target_location binding
5 years ago
Peter Hall
fc0d845b6c
AP_Scripting: add NMEA decode example
5 years ago
Peter Hall
71f1755c97
AP_Scripting: update plane-wind-fs example
5 years ago
Peter Hall
6587653e14
AP_Scripting: regnerate bindings
5 years ago
Peter Hall
129dc16bdb
AP_Scripting: add mission scripting example
5 years ago
Peter Hall
370b6473a2
AP_Scripting: add AP_Mission bindings
5 years ago
Andrew Tridgell
e582432a2f
AP_Scripting: regen bindings
5 years ago
Andrew Tridgell
fe86d8bb0c
AP_Scripting: adjust for updated LED API
5 years ago
Randy Mackay
cc33c8d116
AP_Scripting: make bindings
5 years ago
Randy Mackay
c0bc696b86
AP_Scripting: add arming-check-batt-temp example script
5 years ago
Randy Mackay
ccaa74655c
AP_Scripting: support external authorisation for arming
5 years ago
Peter Barker
1e82ae4676
AP_Scripting: log disarm method
5 years ago
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.
5 years ago
Michael du Breuil
cf06beb1e6
AP_Scripting: Add support for REPL over MAVLink
5 years ago
Peter Barker
d24d1c587a
AP_Scripting: add documentation for DEBUG_LVL parameter
5 years ago
Michael du Breuil
c1a599d0bd
AP_Scripting: Reduce memory associated with the sandbox
5 years ago