Andrew Tridgell
e519a93037
AP_Scripting: added notch params to revert param script
...
useful for testing notch changes in flight
2025-05-23 08:42:03 +01:00
Peter Barker
27465b5c33
AP_Scripting: param-set.lua: trim out unused MAV_SYSID parameter reference
2025-05-20 19:39:52 +10:00
Peter Barker
18ba475340
AP_Scripting: add param-set-filter LUA applet and bindings for same
...
AP_Scripting: add param-set.md to document new applet
with thanks to ChatGPT for the documentation!
2025-05-20 13:32:16 +10:00
Andrew Tridgell
f30766f645
AP_Scripting: added BatteryTag applet
2025-05-17 09:25:46 +10:00
Peter Barker and Ryan Friedman
2e414af057
AP_Scripting: correct use of pcall in examples and applets
...
Co-authored-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com >
2025-05-17 08:16:52 +10:00
Peter Barker
a85e9b679a
AP_Scripting: plane_ship_landing.lua: add pos/vel sanity check
...
this method can return false if the target is outside the AP_Follow acceptance radius. So we can be receiving messages from the target, so have_target can be true, but false is returned from get_target_location_and_velocity_ofs, meaning we try to call methods on nil values
2025-05-14 11:06:56 +10:00
Stephen Dade
d0b310668c
AP_Scripting: fix cast-local-type in Rockblock and MAVLinkHL
2025-04-29 17:21:00 +01:00
Iampete1
4e1457e86b
AP_Scripting: temporarily ignore lua language server issues
2025-04-29 11:29:28 +10:00
Stephen Dade
5fa2603adc
AP_Scripting: make min speed configurable in rover-quicktune
2025-04-15 08:39:56 +09:00
Andrew Tridgell
10cc9f57b7
AP_Scripting: fixed usage of terrain_alt in RockBlock.lua
2025-04-10 06:44:55 +10:00
Andy Piper
129b3b4f5f
AP_Scripting: AP calibration menu
2025-04-09 17:16:58 +10:00
Peter Barker
4a03c7bc9b
AP_Scripting: tweak MAV parameter names
2025-04-07 10:58:41 +10:00
Peter Barker
727eafbcca
AP_Scripting: SYSID_MYGCS and enforce move up to GCS, change to MAV_MYGCS_ENFRCE
2025-04-07 10:58:41 +10:00
Peter Barker
1f256707b5
AP_Scripting: adjust tooling to use MAV_SYSID
2025-04-07 10:58:41 +10:00
rubenp02
afc70a7936
AP_Scripting: Generalize SoC model for more chems.
...
Made the SoC model more flexible by turning the previously fixed
parameter p0 into a free coefficient C4. This parameter controls the
steepness of the SoC curve transition, so this change allows the model
to also fit other battery technologies such as Li-ion.
2025-03-18 11:25:41 +11:00
Stephen Dade
7ee0232d83
AP_Scripting: Better mavlink parsing for MAVLinkHL and Rockblock
colcon build/test / build-test (push) Waiting to run
Cygwin Build / build (push) Waiting to run
ESP32 Build / build (esp32buzz, 10) (push) Waiting to run
ESP32 Build / build (esp32s3empty, 10) (push) Waiting to run
Macos Build / build (CubeOrange) (push) Waiting to run
Macos Build / build (sitl) (push) Waiting to run
QURT Build / build (push) Waiting to run
test ccache / build (10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (CubeRed-EKF2, 10, chibios) (push) Waiting to run
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (MatekF405-Wing, 10, chibios) (push) Waiting to run
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Waiting to run
test chibios / build (SOHW, 10, chibios) (push) Waiting to run
test chibios / build (build-options-defaults-test, 10, chibios) (push) Waiting to run
test chibios / build (configure-all, 10, chibios) (push) Waiting to run
test chibios / build (fmuv2-plane, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (iofirmware, 10, chibios) (push) Waiting to run
test chibios / build (new-check, 10, chibios) (push) Waiting to run
test chibios / build (periph-build, 10, chibios) (push) Waiting to run
test chibios / build (revo-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (revo-mini, 10, chibios) (push) Waiting to run
test chibios / build (signing, 10, chibios) (push) Waiting to run
test chibios / build (stm32f7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7-debug, 10, chibios) (push) Waiting to run
test dds / build (sitl) (push) Waiting to run
test dds / build (stm32h7) (push) Waiting to run
test Linux SBC / build (bbbmini, armhf) (push) Waiting to run
test Linux SBC / build (bebop, armhf) (push) Waiting to run
test Linux SBC / build (bhat, armhf) (push) Waiting to run
test Linux SBC / build (canzero, armhf) (push) Waiting to run
test Linux SBC / build (erlebrain2, armhf) (push) Waiting to run
test Linux SBC / build (linux, base) (push) Waiting to run
test Linux SBC / build (navigator, armhf-musl) (push) Waiting to run
test Linux SBC / build (navigator64, aarch64) (push) Waiting to run
test Linux SBC / build (navio, armhf) (push) Waiting to run
test Linux SBC / build (navio2, armhf) (push) Waiting to run
test Linux SBC / build (pxf, armhf) (push) Waiting to run
test Linux SBC / build (pxfmini, armhf) (push) Waiting to run
test replay / build (replay, base) (push) Waiting to run
test replay / build (replay, clang) (push) Waiting to run
test scripts / build (astyle-cleanliness) (push) Waiting to run
test scripts / build (check_autotest_options) (push) Waiting to run
test scripts / build (logger_metadata) (push) Waiting to run
test scripts / build (param_parse) (push) Waiting to run
test scripts / build (python-cleanliness) (push) Waiting to run
test scripts / build (validate_board_list) (push) Waiting to run
test blimp / build (base) (push) Waiting to run
test blimp / build (clang) (push) Waiting to run
test blimp / autotest (sitltest-blimp) (push) Blocked by required conditions
test copter / build (base) (push) Waiting to run
test copter / build (clang) (push) Waiting to run
test copter / autotest (sitltest-copter-tests1a) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1b) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1c) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1d) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1e) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests2a) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests2b) (push) Blocked by required conditions
test copter / build-gcc-heli (push) Waiting to run
test copter / autotest-heli (sitltest-heli) (push) Blocked by required conditions
test ap_periph / build-gcc-ap_periph (push) Waiting to run
test ap_periph / autotest-can (sitltest-can) (push) Blocked by required conditions
test plane / build (base) (push) Waiting to run
test plane / build (clang) (push) Waiting to run
test plane / autotest (sitltest-plane-tests1a) (push) Blocked by required conditions
test plane / autotest (sitltest-plane-tests1b) (push) Blocked by required conditions
test plane / autotest (sitltest-quadplane) (push) Blocked by required conditions
test rover / build (base) (push) Waiting to run
test rover / build (clang) (push) Waiting to run
test rover / autotest (sitltest-balancebot) (push) Blocked by required conditions
test rover / autotest (sitltest-rover) (push) Blocked by required conditions
test rover / autotest (sitltest-sailboat) (push) Blocked by required conditions
test sub / build (base) (push) Waiting to run
test sub / build (clang) (push) Waiting to run
test sub / autotest (sitltest-sub) (push) Blocked by required conditions
test tracker / build (base) (push) Waiting to run
test tracker / build (clang) (push) Waiting to run
test tracker / autotest (sitltest-tracker) (push) Blocked by required conditions
test unit tests and sitl building / build (examples, base) (push) Waiting to run
test unit tests and sitl building / build (examples, clang) (push) Waiting to run
test unit tests and sitl building / build (sitl, base) (push) Waiting to run
test unit tests and sitl building / build (sitl, clang) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, base) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, clang) (push) Waiting to run
test scripting / test-scripting (push) Has been cancelled
2025-02-27 11:39:56 +11:00
Thomas Watson
962616a76f
AP_Scripting: update so mavlink init intent matches behavior
...
RX message ID buffer sizes have been shrunk to the amount actually used.
2025-02-08 13:52:21 -06:00
Stephen Dade
d5c1478324
AP_Scripting: Update rockblock and MAVLinkHL with additional commands and gcs timeout
2025-02-08 09:42:06 +11:00
Randy Mackay
e294cc03f9
AP_Scripting: video-stream-information param index fix
2025-01-28 12:21:33 +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
Peter Barker
98dbcd5d08
AP_Scripting: update examples to not use deprecated methods
2025-01-21 10:54:05 +11:00
Iampete1
50c45cff75
AP_Scripting: applets: fix luacheck issues in sport aerobattics and script controller
2025-01-05 14:17:10 +00:00
Iampete1
0dbbb87ce2
AP_Scripting: fix remaining luacheck issues
2024-12-24 14:48:58 -06: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
Randy Mackay
523b34fbb9
AP_Scripting: add follow-target-send applet
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
Randy Mackay
1308efb9a4
AP_Scripting: promote video-stream-information to applet
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
Peter Barker
ec1dc7cbc5
AP_Scripting: adjust for renaming of SIM_GPS_DISABLE to SIM_GPS1_ENABLE
2024-11-20 15:07:45 +11:00
Randy Mackay
3bbcd8b0a3
AP_Scripting: copter-slung-payload minor format fix
2024-11-13 06:47:59 +11:00
Iampete1
2ba7516b0f
AP_Scripting: applets: MissionSelector: add loaded print
2024-11-06 18:14:47 +11:00
Iampete1
d01ac70c16
AP_Scripting: Applets: MissionSelector: fix error on file open and checker errors
2024-11-06 18:14:47 +11:00
Randy Mackay and Leonard Hall
73dfeac547
AP_Scripting: copter-slung-payload suppresses oscillation
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com >
2024-10-04 09:25:56 +09:00
Andrew Tridgell
88957235d2
Scripting: added Lat,Lon to aerobatics POSM/POST
...
this makes "map POSM POST" work on aerobatic scripts
2024-09-26 16:44:13 +10:00
Henry Wurzburg
df90b640ca
AP_Scripting:Add parameter controller applet
2024-09-18 13:10:26 +10:00
Peter Barker
12d8a4d543
AP_Scripting: adjust description of aux function 90 (EK3 Source Set
2024-09-16 22:34:34 +10:00
yuri-rage
cd4501e62d
AP_Scripting: add advance-wp.lua
2024-09-12 14:23:43 +10:00
Randy Mackay
ba9bb22c3c
AP_Scripting: add camera-change-settings applet
2024-09-03 09:04:39 +09:00
Andrew Tridgell
d3a1d515cb
AP_Scripting: added TECS tuning to revert param script
2024-08-21 06:46:56 +10:00
Thomas Watson
a164abaafb
AP_Scripting: add REPL applet
...
Implements a reasonably comfortable REPL accessible over serial entirely
as a loadable script.
Also accessible over MAVLink using QGroundControl's MAVLink Console and
the new mavport module.
2024-08-06 09:08:04 +10:00
George Zogopoulos
61c910b08b
AP_Scripting: Added script for Quad-X CoM compensation
...
The script uses the scripting matrix to produce non-equal
front and back thrust, compensating for the lever arm between the center
of thrust and the center of mass.
2024-07-03 18:44:36 +10:00
George Zogopoulos
2717470df1
AP_Scripting: Misc. small improvements.
...
Typo fix
Removed unused variable
2024-06-28 10:05:29 +10:00
petrosilius
1d810bfa6f
AP_Scripting: added tracker Pelco-D control script
...
This script uses the scaled output from the antennatracker servos and map them to corresponding Pelco-D messages to be sent via a RS-485 interface to a motorized base (can be anything from motorized tracker to a PTZ camera).
If your FCU doesnt offer a RS-485 interface by default, you can use or TTL-RS485- or USB-RS485-adapters.
Pelco-D allows to control using either speed-/differential- or absolute-control control of the pan-/tilt-axis.
Currently the script uses speed based control using by mapping the "ContinuousRotation" type servos outputs to the corresponding Pelco-D messages.
The absolute control messages are implemented nevertheless for future use.
The script assumes therefor at least the following parameters to be set:
SCR_ENABLE = 1
SERVO_PITCH_TYPE = 2 # ContinuousRotation type servo
SERVO_YAW_TYPE = 2 # ContinuousRotation type servo
SERIALx_PROTOCOL = 28 # serial port used by luascript
Additionally the PITCH2SRV and YAW2SRV tuning needs to be done as described by the antennatracker description.
Also keep attention to the PITCH_MIN, PITCH_MAX and YAW_RANGE parameters to fit your Pelco-D hardware!
2024-05-28 17:42:52 +10:00
Iampete1
5bb5f442e1
AP_Scripting: ignore lua-language-server-errors
2024-05-21 09:42:22 +10:00
magate
a6995c93cc
AP_Scripting: allow revert of angular rate limits
2024-05-08 17:43:04 +10:00
Andrew Tridgell
bae5859a92
AP_Scripting: added copter_loiter_brake script
...
for automatic BRAKE mode when flying in LOITER in steep terrain
2024-05-07 19:39:39 +10:00
Henry Wurzburg
b0decff44f
AP_SCripting: update VTOL QuickTune to allow YAW FLTE = 0
2024-04-09 09:31:42 +10:00
Andrew Tridgell
1794c128a2
AP_Scripting: raise max FLTE for yaw to 8
...
better yaw for many vehicles
2024-04-02 10:28:34 +11:00
Peter Barker
bb83c43d1b
AP_Scripting: rename GPS_ to GPS1_
2024-03-19 19:50:12 +11:00