Commit Graph

1166 Commits

Author SHA1 Message Date
Peter Barker
c6c6e9fc99 AP_Scripting: rename SRV_Channel::Aux_servo_function_t to SRV_Channel::Function 2025-01-28 21:56:46 +11:00
Randy Mackay
e294cc03f9 AP_Scripting: video-stream-information param index fix 2025-01-28 12:21:33 +11:00
Peter Barker
346c746d29 AP_Scripting: make dotriaconta_octaquad_x a quad-X 2025-01-27 14:03:41 +11:00
Peter Barker
58fa14ebe6 AP_Scripting: rename setup example script for dotriaconta_quad_x 2025-01-27 14:03:41 +11:00
murata
502b3a8713 AP_Scripting: Support Hexadeca-Octa (OCTA-X16) 2025-01-27 14:03:41 +11:00
Andrew Tridgell
aae0613e17 AP_Scripting: added 32 motor example 2025-01-27 14:03:41 +11:00
Peter Barker
c5058fa360 AP_Scripting: create AP_PERIPH_GPS_ENABLED 2025-01-23 17:47:58 +11:00
Thomas Watson
429ed5cdd2 AP_Scripting: only log aerobatic trick file when supported
LittleFS does not have this function implemented due to logging
bandwidth, so `logger:log_file_content` is nil. Don't call it unless it
exists, assuming this logging is not critical.
2025-01-21 15:19:55 +00:00
Andy Piper
628b000ace AP_Scripting: scripting directory configuration for posix IO
ensure SITL uses ./scripts
2025-01-21 11:10:31 +11:00
Andy Piper
f706b8615e AP_Scripting: allow scripting on 2Mb boards with littlefs 2025-01-21 11:10:31 +11:00
Peter Barker
98dbcd5d08 AP_Scripting: update examples to not use deprecated methods 2025-01-21 10:54:05 +11:00
Peter Barker
8ea5ef2784 AP_Scripting: allow for more than 327m range rangefinders 2025-01-21 10:54:05 +11:00
Iampete1
00e920b79d AP_Scripting: servo telem rename valid_types to present_types 2025-01-14 10:49:31 +11:00
Iampete1
265f5dfad9 AP_Scripting: allow generation of fields that check or set a bitmask 2025-01-14 10:49:31 +11:00
Iampete1
4189167a78 AP_Scripting: docs: remove incorrect camera creation function
Fix generator to skip generation of docs for generation methods that
don't exist, and to avoid generating Lua creation methods that couldn't
be called.

Co-authored-by: Thomas Watson <twatson52@icloud.com>
2025-01-14 10:49:31 +11:00
Iampete1
decfeeeaf5 AP_Scripting: add bindings for servo telem 2025-01-14 10:49:31 +11:00
Iampete1
50c45cff75 AP_Scripting: applets: fix luacheck issues in sport aerobattics and script controller 2025-01-05 14:17:10 +00:00
Thomas Watson
01964d8cc0 AP_Scripting: demystify require test
Explain more thoroughly how the test works using lessons learned from
studying the compiled bytecode and function data.

Tested that it still fails after reverting the patches in PR #27652.
2025-01-05 10:36:10 +11:00
Iampete1
0dbbb87ce2 AP_Scripting: fix remaining luacheck issues 2024-12-24 14:48:58 -06:00
Iampete1
754fc867c2 AP_Scripting: set source index when running aux functions 2024-12-24 11:34:07 +11:00
Iampete1
473c39a9e9 AP_Scripting: move to AuxFuncTrigger structure 2024-12-24 11:34:07 +11:00
Iampete1
6b0d59340e AP_Scripting: Examples: Flip_Mode: combine allow entry methods 2024-12-24 11:05:56 +11:00
Andrew Tridgell
613b835d67 AP_Scripting: added QUIK_ANGLE_MAX for lua quicktune
this brings the same protection to the lua script as was added for the
C++ implementation
2024-12-22 07:09:31 +11:00
Andrew Tridgell
9503744e6a AP_Scripting: added get_att_error_angle_deg binding for AC_AttitudeControl 2024-12-22 07:09:31 +11:00
Andreas Gising
300e5ccedd AP_Scripting: add glide-into-wind example without RC override 2024-12-18 19:35:34 +11:00
Randy Mackay
523b34fbb9 AP_Scripting: add follow-target-send applet 2024-12-18 18:28:12 +11:00
Randy Mackay
5c7cfa13cf AP_Scripting: add FOLLOW_TARGET msg definition 2024-12-18 18:28:12 +11:00
Randy Mackay
56cb20ac50 AP_Scripting: add get_vel_target poscontrol binding 2024-12-18 18:28:12 +11:00
Henry Wurzburg
051c2dcd35 Tools: add Plane autoland applet 2024-12-10 13:18:41 +11:00
Henry Wurzburg
637fea1f2d AP_Scripting: add Plane autoland applet 2024-12-10 13:18:41 +11:00
Iampete1
e4de4c9b41 AP_Scripting: Examples: message_interval: give checker a hint about types 2024-12-08 08:09:06 +09:00
Randy Mackay
1308efb9a4 AP_Scripting: promote video-stream-information to applet 2024-12-05 16:46:48 +09:00
Randy Mackay
3325bdd7df AP_Scripting: set-video-stream-info encoding binding and docs 2024-12-05 16:46:48 +09:00
Randy Mackay
eaf20db6ea AP_Scripting: ahrs/ekf origin script promoted to an applet 2024-12-03 11:15:00 +11:00
Andrew Tridgell
10209a2a13 AP_Scripting: added UltraMotion servo driver 2024-11-28 09:24:03 +11:00
Andrew Tridgell
1c6ac0990c AP_Scripting: added UltraMotion servo driver
see https://www.ultramotion.com/servo-cylinder/
2024-11-28 09:24:03 +11:00
Andrew Tridgell
fb3a50096d AP_Scripting: added get_output_pwm_chan 2024-11-28 09:24:03 +11:00
Iampete1
8a86e7da14 AP_Scripting: examples: Flip Mode: refuse mode entry if not armed and flying 2024-11-26 08:44:31 +09:00
Iampete1
d3ffa2e56a AP_Scripting: add bindings for AP_Vehicle::custom_mode_state 2024-11-26 08:44:31 +09:00
Iampete1
00efc1c926 AP_Scripting: generator: allow fields on ap_objects 2024-11-26 08:44:31 +09:00
Iampete1
da33532dbb AP_Scripting: examples: add Flip example script duplicating the behavior of flip mode. 2024-11-26 08:44:31 +09:00
Iampete1
8bc5f797da AP_Scripting: add binding for vehicle register_custom_mode 2024-11-26 08:44:31 +09:00
Tim Tuxworth
1b4ac6ae89 AP_Scripting: Add Altitude Callout script to examples 2024-11-24 07:17:18 +11:00
Peter Barker
ec1dc7cbc5 AP_Scripting: adjust for renaming of SIM_GPS_DISABLE to SIM_GPS1_ENABLE 2024-11-20 15:07:45 +11:00
Andrew Tridgell
5aa7324c2d AP_Scripting: use AP_MultiHeap 2024-11-20 07:32:03 +11:00
Andrew Tridgell
1cd05618f0 AP_Scripting: added warning on heap expansion 2024-11-20 07:32:03 +11:00
Andrew Tridgell
a5ff7f83d1 AP_Scripting: added ability to expand heap at runtime if armed 2024-11-20 07:32:03 +11:00
Andrew Tridgell
66752996e4 AP_Scripting: cleanup debug option handling 2024-11-20 07:32:03 +11:00
Eric Katzfey
45d1a0954e AP_Scripting: Fix method of accessing character string to fix Qurt compiler warning 2024-11-19 14:12:25 +11:00
Randy Mackay
3bbcd8b0a3 AP_Scripting: copter-slung-payload minor format fix 2024-11-13 06:47:59 +11:00