360 Commits

Author SHA1 Message Date
Peter Barker
7ceb7c31c7 global: fix whitespace issues in markdown files
global: fix MD007 unordered list indentation in markdown files

Normalize unordered list indentation to use 2-space multiples:
- Top-level list items start at column 0
- Nested list items use 2 additional spaces per level

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

global: fix MD009 trailing whitespace in markdown files

Remove trailing whitespace from all affected markdown files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

global: fix MD010 hard tabs in markdown files

Replace hard tab characters with 4 spaces.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

global: fix MD012 multiple consecutive blank lines in markdown

Collapse multiple consecutive blank lines to single blank lines
across all markdown files (excluding vendored code).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

global: fix MD007 list indentation base level in markdown

Shift list indentation left by 2 spaces so top-level list items
start at column 0 instead of column 2.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD022 blank lines around headings in markdown

Ensure headings are surrounded by blank lines as required by
markdownlint MD022 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD032 blank lines around lists in markdown

Ensure lists are surrounded by blank lines as required by
markdownlint MD032 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD031 blank lines around code blocks in markdown

Ensure fenced code blocks are surrounded by blank lines as required
by markdownlint MD031 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD047 files should end with single newline

Ensure all markdown files end with exactly one newline character
as required by markdownlint MD047 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD023 headings must start at beginning of line

Remove leading whitespace from heading lines as required by
markdownlint MD023 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD007 remaining list indentation in markdown

Fix unordered list indentation to use correct spacing as required
by markdownlint MD007 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD030 spaces after list markers in markdown

Reduce multiple spaces after list markers to single space as
required by markdownlint MD030 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD022 blank lines around setext headings

Ensure setext-style headings (underlined with === or ---) are
surrounded by blank lines as required by markdownlint MD022 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD018 missing space after hash in headings

Add space after hash marks in atx-style headings as required by
markdownlint MD018 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD019 multiple spaces after hash in headings

Reduce multiple spaces after hash marks to single space in
atx-style headings as required by markdownlint MD019 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD012 multiple consecutive blank lines in markdown

Remove multiple consecutive blank lines and ensure files end with
exactly one newline as required by markdownlint MD012 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD023 headings with leading whitespace

Remove leading whitespace from setext-style heading text lines
as required by markdownlint MD023 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD022 blank line after heading in markdown

Add missing blank line after heading as required by markdownlint
MD022 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD009 trailing non-breaking space in markdown

Remove trailing non-breaking space (U+00A0) as required by
markdownlint MD009 rule.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Tools/scripts: fix MD012 remaining multiple blank lines in markdown

Remove leading blank lines and whitespace-only lines that create
multiple consecutive blank lines.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 11:37:38 +11:00
Randy Mackay
71dee9460d AP_Scripting: config_profiles example uses new RTL params 2026-01-23 11:51:54 +11:00
robot-to-society
3e7867ebd0 AP_Scripting: Add experimental Lua example for S.Bus-style serial output 2025-12-31 09:45:04 +09:00
Andrew Tridgell
92d6c292ca AP_Scripting: dynamic mixer example for X8 co-rotating frame 2025-12-02 11:16:21 +11:00
neo-0007
16a79f5554 AP_Scripting: add example script to test target location
Script to test location for all 7 modes of mount using the
AP_Scripting_Backend.

Signed-off-by: neo-0007 <hrishikeshgohain123@gmail.com>
2025-11-27 10:14:20 +11:00
Peter Barker
93f45acb45 AP_Scripting: rename airspeed methods on AHRS to include EAS or TAS
mixing these up has caused confusion in the past.

"estimate" could also be confused as to mean "synthetic", when it will often come from a sensor.
2025-11-17 18:46:52 -06:00
Stephen Dade
d256a73ee7 AP_Scripting: Add Rockblock 9704 Lua script 2025-11-17 19:18:42 +11:00
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
Randy Mackay
08eaef9fcb AP_Scripting: message_interval gets more messages 2025-10-19 18:11:42 +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
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
Iampete1
a0452ba1d4 AP_Scripting: examples: add TraxxasVelineon ESC telem script 2025-09-15 18:18:55 -05:00
Peter Barker
4e7e417dc3 AP_Scripting: add test for NAMED_VALUE_STRING 2025-08-10 08:38:08 +10:00
Peter Barker
ae48665948 AP_Scripting: add example which prints checksum of @SYS/flash.bin 2025-07-23 10:50:55 +10:00
Peter Barker
1f8370b615 AP_Scripting: update scripts for get_roll->get_roll_rad rename 2025-06-05 17:28:41 +10:00
Ryan Friedman
03adf5e801 AP_Scripting: Add trisonica LI550 3D wind sensor logger
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-05-24 20:09:14 -05:00
Peter Barker
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
Andrew Tridgell
78d42fcf24 AP_Scripting: example of using DroneCAN messaging 2025-05-09 13:08:40 +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
Peter Barker
bf8a9e5df4 AP_Scripting: add _cm to get_vector_from_origin_NEU
... and the _NE equivalent.

Moves us closer to using metres in interfaces.  Several places already *0.01 the result of these methods
2025-04-29 08:29:41 +09:00
Andrew Tridgell
bd7e01dd36 AP_Scripting: added qnh_alt example
useful for BVLOS ops
2025-04-10 09:32:44 +10:00
Andy Piper
fa36e5623d AP_Scripting: add CRSF menu bindings
add CRSF menu example
add scripted CRSF menu events
custom CRSFMenu helpers
play Beethoven's 5th on CRSF command
use native packed strings for CRSF menus and payloads
support CRSF submenus
2025-04-09 17:16:58 +10:00
Peter Barker
1f256707b5 AP_Scripting: adjust tooling to use MAV_SYSID 2025-04-07 10:58:41 +10:00
Andrew Tridgell
f3506c6481 AP_Scripting: added gyro to set_pose 2025-04-02 07:05:04 +11:00
Andrew Tridgell
efbb1cf06f AP_Scripting: added set_pose SITL binding
and example script
2025-03-26 20:02:20 +11:00
Stephen Dade
7ee0232d83 AP_Scripting: Better mavlink parsing for MAVLinkHL and Rockblock 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
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
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
0dbbb87ce2 AP_Scripting: fix remaining luacheck issues 2024-12-24 14:48:58 -06:00
Iampete1
6b0d59340e AP_Scripting: Examples: Flip_Mode: combine allow entry methods 2024-12-24 11:05:56 +11:00
Andreas Gising
300e5ccedd AP_Scripting: add glide-into-wind example without RC override 2024-12-18 19:35:34 +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
eaf20db6ea AP_Scripting: ahrs/ekf origin script promoted to an applet 2024-12-03 11:15:00 +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
da33532dbb AP_Scripting: examples: add Flip example script duplicating the behavior of flip 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
Andrew Tridgell
7f04c82994 AP_Scripting: added FlexDebug example 2024-11-05 17:03:23 +09:00
Thomas Watson
195d3b78e6 AP_Scripting: ESC_slew_rate: fix lua warning
Docs say that logger must be called with `:`.
2024-11-04 15:34:19 +00:00
Andrew Tridgell
145cc4bb26 AP_Scripting: example to test ESC slew limit
can be used to calculate equivalent cutoff frequency
2024-10-17 11:16:18 +11:00
Andrew Tridgell
02fd1f3561 AP_Scripting: use cached in AHRS_switch example
and use EKF2/EKF3, more likely to be useful
2024-10-15 10:48:11 +11:00