Ryan Friedman
888456786d
AP_Scripting: Add GPS switch script
...
* Use this script and an Aux switch to change the primary GPS for the
EKF
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com >
2025-11-04 09:48:56 +11:00
Bob Long
36b54e6e48
AP_Scripting: examples: add fake camera tracking
2025-10-24 13:54:38 +11:00
Andrew Tridgell
3a14f4a52d
AP_Scripting: added throttle_kill applet
...
for killing turbine engines that rely on low PWM (below SERVO3_MIN) to
kill the engine
2025-10-22 19:51:27 +11:00
AlexisMGL
68636140f8
AP_Scripting: fix behavior when when PLND_XY_DIST_MAX=0
2025-10-22 18:21:06 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
73a62004e4
AP_Scripting: fix LTE_MCCMNC documentation metadata
2025-10-21 11:20:03 +02:00
Michael du Breuil
0f0a30bb94
AP_Scripting: Correct INF EFI temperatures
...
They were being reported as C, while the driver expects them to be in
Kelvin. This causes it to get sent to the GCS as the wrong unit.
Correcting the named value float pairs is not required as they are not a
part of a standard, so we can safely leave them in degrees C.
2025-10-21 11:42:34 +11:00
Bob Long
fbe0e49f0e
AP_Scripting: fix UltraMotion servo mask bug
...
This script only worked if setting some N number of consecutive bits,
starting from the LSB. The # operator does NOT get the number of
elements in a table, unless that table is strictly an array.
2025-10-21 10:23:51 +11:00
Bob Long
194da2d257
AP_Scripting: fix UltraMotion docs
2025-10-21 10:23:51 +11:00
Oleksiy Protas
979142b953
AP_Scripting: serial begin() automatic baud rate
...
If the baud rate is omitted or nil, use the HAL-derived value
which usually is taken from the corresponding parameter.
2025-10-20 23:05:47 +02:00
Iampete1
ed8c82a1f2
AP_Scripting: Docs: update BattMonitorScript_State_ud comments
2025-10-20 15:36:27 -05:00
Randy Mackay
08eaef9fcb
AP_Scripting: message_interval gets more messages
2025-10-19 18:11:42 +11:00
Peter Barker
2322ea7a7f
AP_Scripting: have param-set.lua send PARAM_ERROR messages
2025-10-18 11:50:33 +11:00
Thomas Watson
da676fd438
AP_Scripting: fix gcs:set_message_interval port range
...
Despite the implications of the example and the
`MAVLINK_COMM_NUM_BUFFERS` limit in the description, the actual first
argument to this function is the serial port number.
Correct the argument range to allow any possible port number (no need to
limit as the list is sparse) and enhance the example to give more port
numbers.
2025-10-13 22:48:12 -05:00
Andrew Tridgell
210f0b7e53
AP_Scripting: added CAN_playback.lua
...
used to play back a log captured using CAN_Pn_OPTIONS=1
2025-10-14 12:56:57 +11:00
Andrew Tridgell
691e559db4
AP_Scripting: fixed a memory leak in socket recv()
...
we need to allocate the memory in the lua heap, otherwise a failure
leaks global memory
2025-10-14 12:56:41 +11:00
Iampete1
f44cefd0e4
AP_Scripting: regenerate MAVLink message definitions
2025-10-14 10:34:11 +11:00
Peter Barker
9b240db037
AP_Scripting: add a binding for set_alt_m
2025-10-11 12:39:41 -05:00
Tim Tuxworth
ae038a5886
AP_Scripting: update plane_flllow.md documentation
2025-10-11 08:19:10 +02:00
Tim Tuxworth
6b4743f027
AP_Scripting: plane_follow.lua applet
2025-10-07 11:48:50 +11:00
George Zogopoulos
6f188f5427
AP_Scripting: Added VSPeak Modell flow meter driver
...
Changest tested with Kyle
Updated script
Fixed documentation errors
Added VSPF_MODE
Fixed type casting
Added VSPF_PORT to choose serial port
Updated documentation
Fixed wrong handling of sensor mode
Some changes to hopefully get better data parsing
Fixed bugs
2025-10-02 08:34:54 +10:00
Peter Barker
e783bb4ab8
AP_Scripting: add define so user can omit AP_Vehicle bindings
2025-10-01 18:05:38 +10:00
Peter Barker
da93d1467c
AP_Scripting: add define so user can omit AP_Motors bindings
2025-10-01 18:05:38 +10:00
Thomas Watson
4a7ddf545a
AP_Scripting: avoid DEV_PRINTF for initial memory usage
...
This corrupts other MAVLink messages going out at the same time,
particularly in CI, causing tests to fail because scripting restart and
script initial startup messages are destroyed.
Instead use a MAVLink debug statustext, but only send it if the runtime
measurement debug bit is on to avoid an obvious change in behavior and
unnecessary appearance of a new message.
2025-09-30 10:47:25 +10:00
Peter Barker
1fc015c5da
AP_Scripting: add a script that changes vehicle between configurations
...
... different battery configurations, different payload configurations and different arm configurations
2025-09-30 09:42:32 +10:00
Valeriy Van
af6d3b584a
Plane: Fix typo
2025-09-29 16:20:10 +10:00
Tom Pittenger
08b209d340
AP_Scripting: fix periph:get_vehicle_state to be 64 bit
2025-09-29 15:16:23 +10:00
Andrew Tridgell
a3041bd10f
AP_Scripting: fixed battery tag on 2nd CAN bus
...
allow for tags on either bus
2025-09-29 12:43:19 +10:00
Iampete1
b9c177c363
AP_Scripting: check channel is valid before trying to send on it
2025-09-16 11:00:05 +01:00
Iampete1
a0452ba1d4
AP_Scripting: examples: add TraxxasVelineon ESC telem script
2025-09-15 18:18:55 -05:00
Iampete1
3048a04f6b
AP_Scripting: Luacheck: allow unused arguments prefixed with a underscore
2025-09-15 18:18:55 -05:00
Iampete1
064655cb4a
AP_Scripting: add binding for UART set_unbuffered_writes
2025-09-15 18:18:55 -05:00
Iampete1
5f33bc7af8
AP_Scripting: update esc_telem:update_rpm method to use float
2025-09-15 18:18:55 -05:00
Andrew Tridgell
3393fa2ed9
AP_Scripting: added is_pending() method on sockets
...
allows for non-blocking TCP connections
2025-09-03 15:17:39 +01:00
Andrew Tridgell
03494bd938
AP_Scripting: added pcall wrapper to LTE_modem
2025-08-31 17:05:52 +01:00
Andrew Tridgell
15d176cc88
AP_Scripting: fixed RSRQ/RSRP mixup
2025-08-31 17:05:52 +01:00
Andrew Tridgell
7d2f8a9190
AP_Scripting: LTE_modem reliability improvements
2025-08-31 17:05:52 +01:00
Andrew Tridgell
a080f62bd8
AP_Scripting: added LTE BG95 support
...
nice modem with good CAT-M support
2025-08-31 17:05:52 +01:00
timtuxworth
435ae628fb
AP_Scripting: quadplane terrain avoidance with can't make that climb
2025-08-19 22:23:08 -05:00
Tim Tuxworth
cc0b8164d2
AP_Scripting: scripted arming checks
2025-08-16 19:55:15 +01:00
Tim Tuxworth
012fc280a8
Tools: tests for scripted arming checks
2025-08-16 19:55:15 +01:00
Peter Barker
4e7e417dc3
AP_Scripting: add test for NAMED_VALUE_STRING
2025-08-10 08:38:08 +10:00
Andrew Tridgell
7e0daa6609
AP_Scripting: added MOT slew rates to revert_params.lua
2025-08-06 08:25:44 +10:00
Peter Barker
55277a339e
AP_Scripting: copter_terrain_brake: read aloud activation message
2025-07-29 21:23:39 +10:00
Andy Piper
7fbdfcee0a
AP_Scripting: add stop method
2025-07-23 18:13:36 +10:00
Peter Barker
ae48665948
AP_Scripting: add example which prints checksum of @SYS/flash.bin
2025-07-23 10:50:55 +10:00
Andrew Tridgell
318e6b9190
AP_Scripting: update HFE EFI driver script
...
added option to log all CAN frames for debugging new protocols
2025-07-22 13:02:52 +10:00
Peter Barker
3708936c62
global: correct shebang lines to refernce python3
...
also remove the odd encoding line which is not required in Py3
2025-07-22 10:45:57 +10:00
Joseph Stewart
d9f1287c8b
AP_Scripting: Use unified regex pattern for parameter parsing
2025-07-22 09:31:59 +10:00
Joseph Stewart
c4ba818ca5
AP_Scripting: write full param lists without timeout
2025-07-22 09:31:59 +10:00
Joseph Stewart
ada20e5224
AP_Scripting: Added comma delimited parameter files in param controller
2025-07-22 09:31:59 +10:00