Commit Graph

218 Commits

Author SHA1 Message Date
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
Iampete1 59fb78fea8 AP_Scripting: binding gen: support manaul bindings 2022-05-04 17:49:14 +10:00
Iampete1 5c2b0ebb0f AP_Scripting: binding gen: don't emit dependancy if there are no fields 2022-05-04 17:49:14 +10:00
Andrew Tridgell 8320b90a01 AP_Scripting: added norm_input_dz binding 2022-05-04 13:56:43 +10:00
Andrew Tridgell 77a985182c AP_Scripting: added get_rpy_srate binding
and remove dmod binding
2022-05-03 10:01:19 +10:00
Iampete1 20a2e6aaf0 AP_Scripting: allow deprecation warnings 2022-05-03 07:48:39 +10:00
m dbf00bae10 AP_Scripting: Add pre_arm_checks LUA binding 2022-04-30 10:23:28 +09:00
Andrew Tridgell ed89acea66 AP_Scripting: added PDmod binding for quick tuning 2022-04-29 11:54:12 +10:00
Randy Mackay 7b6ad412fe AP_Scripting: add ahrs get_relative_position_D_home binding 2022-04-26 18:37:54 +09:00
Randy Mackay f0623fa8c9 AP_Scripting: add has_ekf_failsafed binding 2022-04-26 18:37:54 +09:00
Iampete1 6e3cb7efdc AP_Scripting: support true aliases 2022-04-26 10:28:28 +10:00
Iampete1 352c48233e AP_Scripting: generator: rename alias keyword to rename 2022-04-26 10:28:28 +10:00
Andrew Tridgell 54f6dbf476 AP_Scripting: restored corrected boolean in height_amsl binding 2022-03-28 16:01:21 +11:00
bugobliterator 39b771c3a9 AP_Scripting: add support for can_printf in lua 2022-03-23 18:59:43 +11:00
Andrew Tridgell e8115a99bc AP_Scripting: added set_override method for scripting
useful for test code
2022-03-22 10:21:06 +11:00
Andrew Tridgell ba57e0a9d8 AP_Scripting: review fixes 2022-03-10 07:34:20 +11:00
Andrew Tridgell 5c94be1d72 AP_Scripting: added rotate_xy for Vector3f 2022-03-10 07:34:20 +11:00
Andrew Tridgell 197ccda408 AP_Scripting: added follow API 2022-03-10 07:34:20 +11:00
Andrew Tridgell 0de1185625 AP_Scripting: removed terrain home correction 2022-03-10 07:34:20 +11:00
Peter Barker 9aeab4978f AP_Scripting: replace get_position alias with call to wrapper method
the alias breaks the call it is aliasing to
2022-02-18 21:23:06 +11:00
Iampete1 918b8a1a9c AP_Scripting: add binding and helper to get old params 2022-02-15 10:05:23 +11:00
Henry Wurzburg 92f76d0b7f AP_Scripting: fix error in Tricks on a Switch qualifier 2022-02-08 11:54:38 +11:00
Henry Wurzburg b262e9ffbf AP_Scripting: extend nav_scripting to all modes 2022-02-07 21:19:28 +11:00
murata 6c83f2262d AP_Scripting: Remove meaningless semicolons 2022-02-07 08:27:34 +09:00
Iampete1 da352163ee AP_Scripting: move singleton method bindings to flash 2022-02-02 11:33:46 +11:00
Rishabh 2e7e4a36ff AP_Scripting: Allow scripts to set Rovers turn rate and speed guided command 2022-01-31 14:48:22 +09:00
Peter Barker 3438caebe2 AP_Scripting: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Iampete1 f147f6f215 AP_Scripting: add bindings for prameter set defualt and configured 2022-01-23 07:00:56 +11:00
Andrew Tridgell d56840e4ef AP_Scripting: special case handling of copy method
allow for each copy() of Location, Vector2f and Vector3f without
adding special methods to each type in C++
2022-01-18 19:18:13 +11:00
Andrew Tridgell 10b1f46997 AP_Scripting: added bindings for adding parameter tables 2022-01-11 13:04:53 +11:00
Iampete1 c21ec13719 AP_Scripting: support feild alias s 2022-01-06 22:30:58 +11:00
Iampete1 dad0f0c3c0 AP_Scripting: add binding for AP::fwversion 2022-01-06 22:30:58 +11:00
Iampete1 18d0687847 AP_Scripting: support singleton feild types 2022-01-06 22:30:58 +11:00
Iampete1 9ccf17488d AP_Scripting: allow singleton types as refrence rather than pointer 2022-01-06 22:30:58 +11:00
Iampete1 cc5a867397 AP_Scripting: add binding for setting motors custom frame string 2022-01-05 19:51:19 +11:00