Commit Graph

234 Commits

Author SHA1 Message Date
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
Iampete1 ec4949c9e3 AP_Scripting: generator: use depends for singleton strings 2022-01-04 11:40:33 +11:00
Iampete1 1711fa9807 AP_Scripting: use alias for param function names 2022-01-04 11:26:29 +11:00
Peter Barker 1b0f21e2a3 AP_Scripting: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker f99f2bd8ab AP_Scripting: adjust for rename of OpticalFlow.h to AP_OpticalFlow.h 2021-12-28 10:16:20 +11:00
Andrew Tridgell 9ccfbe9813 AP_Scripting: added bindings for NAV_SCRIPT_TIME support 2021-11-08 21:08:52 +11:00
Andy Piper 31c74f9793 AP_Scripting: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Iampete1 da1fde06ad AP_Scripting: fix skip check userdata feild write 2021-10-26 11:05:22 +11:00
Iampete1 003561ab75 AP_Scripting: Docs: append _ud to userdata types to avoild name clash with new functions and declare local 2021-10-26 11:05:22 +11:00
Iampete1 a70134ba38 AP_Scripting: generator: ouput Emmylua docs 2021-10-20 18:35:09 +11:00
Iampete1 fbb9ef422c AP_Scripting: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Iampete1 0f8bcbf4b8 AP_Scripting: optimise genrated bindings for size 2021-10-12 10:08:56 +11:00
Iampete1 c1dbb1c046 AP_Scripting: change all -FLT_MAX FLT_MAX ranges to no check 2021-10-12 10:08:56 +11:00
Iampete1 302e855dab AP_Scripting: add 'skip_check keyword to skip argument range check 2021-10-12 10:08:56 +11:00
Iampete1 0772af5539 AP_Scripting: generator: dont initalise trivial types 2021-10-12 10:08:56 +11:00
Iampete1 32d6919ae2 AP_Scripting: generator: remove unneeded else in nullable returns 2021-10-12 10:08:56 +11:00
Iampete1 e5ae023be2 AP_Scripting: AnalogSource set_pin returns bool 2021-10-06 18:42:51 +11:00
bugobliterator e666e460f9 AP_Scripting: add periph methods for getting vehicle states 2021-09-30 08:52:27 +10:00
Siddharth Purohit 24448d6adf AP_Scripting: add rgb control for independent LEDs 2021-09-30 08:52:27 +10:00
Gone4Dirt f8ed6426a9 AP_Scripting: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Peter Barker 305a8ad48a AP_Scripting: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
Willian Galvani e563919dd2 AP_Scripting: update to use capacity_remaining_pct() as a bool 2021-09-08 17:17:41 +10:00
Randy Mackay e8155bc47c AP_Scripting: add AP_Vehicle set_target_pos_NED and posvelaccel_NED bindings 2021-08-26 11:25:54 +09:00
Randy Mackay a3b4c8efd8 AP_Scripting: minor reorder of AP_Vehicle bindings
this is a slightly better grouping
2021-08-26 11:25:54 +09:00
Randy Mackay 5eb65c9a1f AP_Scripting: add AHRS:get_relative_position_NED_origin binding 2021-08-26 11:25:54 +09:00
Peter Barker 9dd02f0c2b AP_Scripting: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
Randy Mackay 8548695e5d AP_Scripting: add bindings for get_circle_radius, set_circle_rate 2021-08-25 18:39:09 +10:00
Randy Mackay df187d5d3f AP_Scripting: add optical flow bindings 2021-08-24 16:49:04 +09:00
Peter Hall 2ec36d7f7f AP_Scripting: add quadplane in_assisted_flight binding 2021-08-18 18:07:20 +10:00
Peter Hall 5eee3c4eb0 AP_Scripting: add binding to get RC_Channel by number 2021-08-17 11:01:00 +01:00
Andrew Tridgell 2d6070d449 AP_Scripting: added has_valid_input binding 2021-08-10 08:48:10 +10:00
Iampete1 4b28f53644 AP_Scripting: add change alt frame method to location userdata 2021-07-28 18:19:23 +10:00
Iampete1 9047b19e59 AP_Scripting: bindings for CANFrame and ScriptingCANBuffer 2021-07-27 09:04:17 +10:00
Iampete1 8c7cad8663 AP_Scripting: generator support depends keyword on AP_Object 2021-07-27 09:04:17 +10:00
Tatsuya Yamaguchi a3e176284d AP_Scripting: add AP_InertialSensor binding 2021-07-23 09:32:04 +09:00
Iampete1 d158199a7a AP_Scripting: add bindings and example for dynamic motor mixer 2021-07-20 09:19:28 +10:00
Iampete1 a6795a8e45 AP_Scripting: support depends keyword on userdata 2021-07-20 09:19:28 +10:00
Iampete1 aad459d447 AP_Scripting: support array userdata feilds 2021-07-20 09:19:28 +10:00
CallanDaniel c34322f6ce AP_Scripting: add set_origin and initialised bindings
added bindings and example scripts
2021-07-08 11:54:37 +09:00
bugobliterator 027d8b4aea AP_Scripting: add support for controlling onvif camera using lua script 2021-07-07 18:57:25 +10:00
Michael Oborne a81da13c13 AP_Scripting: add support for configuring ONVIF using scripting 2021-07-07 18:57:25 +10:00
CallanDaniel a617175881 AP_Scripting: add get_origin and set_home bindings
added bindings and example scripts for set_home and get_origin
2021-06-23 10:11:02 +09:00
Peter Hall c239e71de5 AP_Scripting: add motor matrix set throttle factor binding 2021-05-25 09:01:06 +09:00
Andy Piper f1078d00a3 AP_Scripting: add in ESC telemetry bindings and make optional 2021-05-12 17:01:11 +10:00
Iampete1 15362484bc AP_Scripting: add do_aux_function binding and example 2021-05-04 09:05:56 +10:00
Iampete1 82228469c8 AP_Scripting: add reset_remianing battery binding 2021-03-31 19:21:59 +11:00
Iampete1 8b278b52b3 AP_Scripting: add GPIO inputs and exmaple 2021-03-30 10:44:43 +11:00
Iampete1 e0621179ef AP_Scripting: add PWMSource bindings 2021-03-30 10:44:43 +11:00
Iampete1 590be4049c AP_Scripting: support userdata alias 2021-03-30 10:44:43 +11:00
Iampete1 9d739cfa42 AP_scripting: add bindings and example for analog inputs 2021-03-30 10:44:43 +11:00
Randy Mackay a17086816f AP_Scripting: proximity bindings depend upon HAL_PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Emre Saldiran 1a3a2a0437 AP_Scripting: add set_target_posvel_NED binding 2021-03-24 08:55:48 +09:00
Rishabh 06a7086562 AP_Scripting: Add proximity status binding 2021-03-23 10:02:18 +09:00
Iampete1 166aedf1be AP_Scripting: add I2CDevice to auto bindings 2021-03-17 18:50:05 +11:00
Iampete1 7b3097972b AP_Scripting: generator: support pointer semaphore flag 2021-03-17 18:50:05 +11:00
Iampete1 c54634e86b AP_Scripting: generator: finish off refence access implmentation 2021-03-17 18:50:05 +11:00
Iampete1 8effa59d10 AP_Scripting: generator: support method alias and sanitised names 2021-03-17 18:50:05 +11:00
Peter Hall 9997981702 AP_Scripting: generator: support literal singltons that do not need to be fetched 2021-03-17 18:50:05 +11:00
Iampete1 bf7920f2d7 AP_Scripting: use helper for not supported error saving 1K of flash 2021-02-18 15:12:58 -07:00
Peter Hall fc95664580 AP_Scripting: add GCS send_named_float binding 2021-02-17 18:49:20 +11:00
Iampete1 1395f9ce79 AP_Scripting: add 6DoF motors matrix bindings and example 2021-02-09 12:43:54 +09:00
Iampete1 28e8c5e56e AP_Scripting: add 6DoF attitude control bindings and example 2021-02-09 12:43:54 +09:00
WillyZehnder acfe815305 AP_Scripting: make get_control_mode_reason available to lua 2021-02-04 08:32:35 +09:00
yaapu 4fbba17506 AP_Scripting: added bindings for frsky telemetry library 2021-01-29 09:55:22 +11:00
Iampete1 5c397d4674 AP_Scripting: add MotorMatrix bindings 2021-01-26 11:07:36 +09:00
Iampete1 9be19b0bfa AP_Scripting: add plane spesific quadplane in_vtol_mode binding 2021-01-19 11:18:10 +11:00
Iampete1 7de14f2e2f AP_Scripting: desc: update AP_Terrain depends 2021-01-19 11:18:10 +11:00
Iampete1 2a75432fa2 AP_Scripting: Generator: support depends 2021-01-19 11:18:10 +11:00
TsuyoshiKawamura 441be7e04b AP_Scripting: add rangefinder status_orient 2021-01-05 11:03:42 +11:00
Peter Hall 1f7d796845 AP_Scripting: add fast param bindings and example 2021-01-05 10:55:36 +11:00
yaapu 89f0ed2f8f AP_Scripting: added bindings and example for waypoint info 2020-12-10 12:39:44 +11:00
Andrew Tridgell c731e77607 AP_Scripting: added mission clear and offset_bearing bindings 2020-12-08 12:27:00 +11:00
Randy Mackay 2b9fb79d72 AP_Scripting: add bindings for set_posvelyaw_source and get_vel_innovations 2020-11-20 16:43:44 +09:00
Iampete1 e95376fbef AP_Scripting: add notify LED get RGB binding and example 2020-11-02 17:40:21 -07:00
Iampete1 0668c5c584 AP_Scripting: support pass by refence on none bool return 2020-11-02 17:40:21 -07:00
Iampete1 2bdcadd785 AP_Scripting: examples to load and save missions to the SD card 2020-10-28 19:21:26 +11:00
Randy Mackay 5eae007d49 AP_Scripting: add binding for ahrs get_variances 2020-10-21 08:58:45 +09:00
Randy Mackay d31a00a6a1 AP_Scripting: replace prearm_healthy binding with healthy 2020-10-07 11:53:07 +11:00
Gone4Dirt 39788aa4f7 AP_Scripting: Add rc norm_input_ignore_trim binding 2020-09-09 17:50:31 +10:00
Pierre Kancir af1bdcfdfc AP_Scipting: fix memleak on generator 2020-08-26 17:06:23 +10:00
Randy Mackay eddbf7a755 AP_Scripting: fix get_control_output binding
co-author: @wicked.shell.scripts@gmail.com
2020-08-20 14:09:29 +09:00
Randy Mackay 39d2079c06 AP_Scripting: add set_angle and set_range bindings 2020-08-20 14:09:29 +09:00
Randy Mackay 94b2381399 AP_Scripting: add set_output_norm binding 2020-08-20 14:09:29 +09:00
ashvath100 a3b435e912 AP_Scripting: add get_control_output binding 2020-08-20 14:09:29 +09:00
Andrew Tridgell 822d3b2a3a AP_Scripting: added get_accel AHRS method
complements get_gyro() method
2020-08-16 08:55:27 -07:00