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