Commit Graph

252 Commits

Author SHA1 Message Date
Randy Mackay 0cbdd28f82 AP_Scripting: add mount driver bindings 2023-01-31 17:20:37 +09:00
Henry Wurzburg f8c4356ce2 AP_Scripting: add error check to mission_load.lua 2023-01-21 11:09:52 +11:00
Henry Wurzburg 71099c881d AP_Scripting: add error check to mission_load.lua 2023-01-17 10:24:08 +11:00
Henry Wurzburg 8de4195ffc AP_Scripting: add readme.md file and completion 2023-01-04 16:20:12 +11:00
Andrew Tridgell ea89f04a56 AP_Scripting: script switching system
Co-authored-by:Henry Wurzburg (hwurzburg@yahoo.com)
2023-01-04 16:20:12 +11:00
Iampete1 c1cd095508 AP_Scripting: remove lua acess to ap object creation 2022-11-23 19:48:21 +11:00
Peter Barker 1203f118d7 AP_Scripting: allow FRSky to be compiled out 2022-11-15 18:44:45 +11:00
Iampete1 6086402528 AP_Scripting: use helpers for full range return types to save flash 2022-11-15 10:33:51 +11:00
Iampete1 7b844e3974 AP_Scripting: use checker helper for singletons 2022-11-01 17:03:50 +11:00
Iampete1 d673d3b219 AP_Scripting: rework feilds to only use switch for both read and write 2022-11-01 17:03:50 +11:00
Iampete1 5a0c45e090 AP_Scripting: ap object creation functions shared method 2022-11-01 17:03:50 +11:00
Iampete1 84fe2ed829 AP_Scripting: remove memset 0 after malloc 2022-11-01 17:03:50 +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 5711ac9596 AP_Scripting: generator: combine null checks in getter as error is terminal 2022-11-01 17:03:50 +11:00
WillyZehnder a7d5f8addc AP_Scripting: bindings: get_alt_frame included
bindings.desc + docs.lua: get_alt_frame included
2022-10-25 10:21:05 +11:00
Andrew Tridgell 5def680fb9 AP_Scripting: fixed binding for nav_script_time 2022-10-23 18:11:15 +11:00
Iampete1 48ce8c4e16 AP_Scripting: binding gen: add number of argument to manual functions and generate docs for manual 2022-10-19 18:35:32 +11:00
Andrew Tridgell ac1be8b500 AP_Scripting: added get_aux_cached() RC binding 2022-10-11 11:47:04 +11:00
Andrew Tridgell 19fd2d0b88 AP_Scripting: added relay get() binding 2022-10-11 11:47:04 +11:00
Randy Mackay 57f8a46339 AP_Scripting: add winch bindings 2022-10-06 14:39:28 +11:00
Andrew Tridgell c00c13d011 AP_Scripting: changed bindings to ap_object 2022-10-02 08:15:06 +11:00
Andrew Tridgell acb18cf946 AP_Scripting: update bindings for new fields 2022-10-02 08:15:06 +11:00
Joshua Henderson d74081b22b AP_Scripting: add scripting EFI bindings 2022-10-02 08:15:06 +11:00
Randy Mackay 7f8448e344 AP_Scripting: add Location::offset_bearing_and_pitch binding 2022-09-28 17:09:31 +10:00
Randy Mackay dd58cb7492 AP_Scripting: add binding for Mount get_attitude_euler 2022-09-28 17:09:31 +10:00
Iampete1 b49ded9f8e AP_Scripting: fix userdata skip check 2022-09-26 08:05:54 +10:00
MatthewHampsey d17b528cab AP_Scripting: added new functions to support trajectory script 2022-09-22 05:55:15 +10:00
Peter Barker 7a80c2778b AP_Scripting: add and use AP_RPM_ENABLED 2022-09-20 09:28:27 +10:00
Iampete1 cb34895cfa AP_Scripting: add maunal i2c binding allowing read of sequentual registers 2022-09-15 12:40:04 +10:00
Iampete1 b4234256f8 AP_Scripting: allow maunal apobject bindings 2022-09-15 12:40:04 +10:00
Iampete1 41e36e3128 AP_Scripting: Parameter helper: allow optional param name in constructior 2022-09-14 13:59:40 +10:00
Iampete1 e51c42f8a5 AP_Scripting: enfoce skip check on correct types update description to match 2022-09-13 18:43:13 +01:00
Andrew Tridgell 1768149a72 AP_Scripting: added set_rpm_scale API 2022-09-13 07:48:19 +10:00
nrt 2c58206a75 AP_Scripting: added Lua example demonstrating the use of active source set 2022-08-18 02:05:27 -04:00
Peter Barker 20f73ad55e AP_Scripting: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Iampete1 df6a5f0e0d AP_Scripting: reuse uint32 dev operation for idiv 2022-08-17 17:18:26 +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 1995dbf47c AP_Scripting: added update_rpm() scripting binding 2022-07-13 17:33:00 +10:00
Yuri 6a74be104f AP_Scripting: add set_desired_speed binding 2022-07-07 19:34:10 +09:00
Andrew Tridgell 39fd4f01cd AP_Scripting: fixed SimOnHardware build
HAL_MOUNT_ENABLED depends on !HAL_MINIMIZE_FEATURES
2022-07-07 12:33:01 +10:00
Iampete1 ea4f050aa8 AP_Scripting: Generator: fix docs generator aliasing 2022-07-05 10:31:51 +10:00
Andrew Tridgell d8b98789e6 AP_Scripting: add support for scripting2 protocol 2022-07-03 08:21:55 +10:00
Randy Mackay 47e10eaefa AP_Scripting: add bindings to control mount 2022-07-02 09:21:53 +09:00
Iampete1 7850aea186 AP_Scripting: load uint32_t bindings via generator 2022-05-10 09:42:57 +10:00
Iampete1 5bfb295fdd AP_Scripting: generator: support manual and manual operators on userdata 2022-05-10 09:42:57 +10:00
Iampete1 934b56e597 AP_Scripting: generator: support manual creation functions for userdata 2022-05-10 09:42:57 +10:00
Iampete1 3319140133 AP_Scripting: generator: remove unused function 2022-05-10 09:42:57 +10:00
Iampete1 9da80b45e9 AP_Scripting: load manual bindings via generator 2022-05-04 17:49:14 +10:00
Iampete1 03476711f2 AP_Scripting: binding gen: support globals 2022-05-04 17:49:14 +10:00