Iampete1
6086402528
AP_Scripting: use helpers for full range return types to save flash
2022-11-15 10:33:51 +11:00
Iampete1
1547c65ff3
AP_Scripting: bindings: logging: add flag to copy format strings
2022-11-08 10:49:43 +11:00
Iampete1
d0f527369d
AP_Scripting: remove type specific out of range warnings
2022-11-01 17:03:50 +11:00
Iampete1
06712c9f0b
AP_Scripting: rework arg checks to save flash
2022-11-01 17:03:50 +11:00
Iampete1
5db30b75e7
AP_Scripting: logging: move to char buffer from lua buffer
2022-10-25 10:09:14 +11:00
Iampete1
cb34895cfa
AP_Scripting: add maunal i2c binding allowing read of sequentual registers
2022-09-15 12:40:04 +10:00
Iampete1
5b2236e88c
AP_Scripting: Manual bindings: allow both : and . acsess
2022-09-06 10:39:35 +10:00
Iampete1
2c8a11885f
AP_Scripting: Boxed numerics and maunal bindings use generated arg checker
2022-08-17 17:18:26 +10:00
Andrew Tridgell
d8b98789e6
AP_Scripting: add support for scripting2 protocol
2022-07-03 08:21:55 +10:00
Iampete1
9da80b45e9
AP_Scripting: load manual bindings via generator
2022-05-04 17:49:14 +10:00
murata
6c83f2262d
AP_Scripting: Remove meaningless semicolons
2022-02-07 08:27:34 +09:00
Andrew Tridgell
32731e2cd0
AP_Scripting: fixed bug in string logging with logger.write()
...
this dereferenced a bad pointer, leading to crash and watchdog
thanks to Charlie for finding this!
2021-10-06 18:14:54 +11:00
Iampete1
44276be3a1
AP_Scripting: add CANSensor and manaul bindings to load.
2021-07-27 09:04:17 +10:00
Iampete1
0b8cdaf392
AP_Scripting: add mission command receve function, binding and example
2021-03-31 19:23:13 +11:00
Iampete1
58860205ea
AP_Scripting: add manual i2c get device bindings
2021-03-17 18:50:05 +11:00
Iampete1
de664ae6a8
AP_Scripting: bindings: add units and multipliers to logging
2020-10-13 10:34:42 +11:00
Andrew Tridgell
d7b20c6e48
AP_Scripting: added micros()
2020-06-04 09:49:52 +10:00
Peter Hall
b368188b01
AP_Scripting: add AP_Logger binding
2020-05-19 09:09:48 +10:00
Andrew Tridgell
2c6fd13899
AP_Scripting: auto-build the bindings
2020-05-12 19:55:21 +10:00
Andrew Tridgell
b1977ca43d
AP_Scripting: removed old servo output binding
2020-04-28 11:14:26 +10:00
Michael du Breuil
c1a599d0bd
AP_Scripting: Reduce memory associated with the sandbox
2020-02-18 10:38:09 +11:00
Michael du Breuil
8db8dcd2d2
AP_Scripting: Fix up some warnings
...
-Remove some non forward declared issues
-Remove forced min/max values from the enum range check
2019-05-11 18:25:43 -07:00
Michael du Breuil
84c2b18e43
AP_Scripting: Support enum types, add millis() remove manual GCS wrapper
...
This introduces enum types for range checking/returns, adds a millis(() call
(this returns a uint32_t), and moves over to an auto generated version of the GCS binding
2019-05-11 18:25:43 -07:00
Michael du Breuil
7690df1d69
AP_Scripting: Add boxed numerics for uint32_t types
...
Also fixes bad check in send_text that could seg fault in send_text
And fixes the fact that all freshly allocated userdata's need to be
memset
2019-04-26 08:07:19 +10:00
Michael du Breuil
e7d59514d9
AP_Scripting: Add an initial generator
2019-04-11 23:03:20 -07:00
Pierre Kancir
ad75b1e56f
AP_Scripting: update locations_are_same to same_latlon_as
2019-04-08 08:05:05 -07:00
Pierre Kancir
3e122c19f3
AP_Scripting: move location_update to Location and rename to offset_bearing
2019-04-06 09:10:28 +11:00
Michael du Breuil
7183b504a7
AP_Scripting: Fix bad location changes
2019-03-05 08:45:54 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
67bbc6962a
AP_Scripting: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
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
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
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
68576eff32
AP_Scripting: Initial test script
2018-10-09 10:08:52 +11:00