ardupilot/libraries/AP_Scripting/examples
Iampete1 e4de4c9b41 AP_Scripting: Examples: message_interval: give checker a hint about types 2024-12-08 08:09:06 +09:00
..
6DoF_roll_pitch.lua
AHRS_switch.lua AP_Scripting: use cached in AHRS_switch example 2024-10-15 10:48:11 +11:00
BQ40Z_bms_shutdown.lua AP_Scripting: Add BQ40Z shutdown example 2024-07-30 09:40:10 +10:00
CAN_MiniCheetah_drive.lua AP_Scripting: ignore lua language check issues resulting from https://github.com/ArduPilot/ardupilot/pull/26939 2024-05-21 09:42:22 +10:00
CAN_logger.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
CAN_read.lua AP_Scripting: ignore lua language check issues resulting from https://github.com/ArduPilot/ardupilot/pull/26939 2024-05-21 09:42:22 +10:00
CAN_write.lua AP_Scripting: ignore lua language check issues resulting from https://github.com/ArduPilot/ardupilot/pull/26939 2024-05-21 09:42:22 +10:00
EFI_tester.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
ESC_slew_rate.lua AP_Scripting: ESC_slew_rate: fix lua warning 2024-11-04 15:34:19 +00:00
FenceBreach.lua AP_Scripting: add bindings for fence 2023-11-07 07:52:14 +11:00
FlexDebug.lua AP_Scripting: added FlexDebug example 2024-11-05 17:03:23 +09:00
Flip_Mode.lua AP_Scripting: examples: Flip Mode: refuse mode entry if not armed and flying 2024-11-26 08:44:31 +09:00
LED_matrix_image.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
LED_matrix_text.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
LED_poslight.lua
LED_roll.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
MAVLinkHL.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
MAVLink_Commands.lua AP_Scripting: add MAVLink command long and ack examples 2023-07-04 10:20:42 +10:00
Mission_test.lua
MotorMatrix_fault_tolerant_hex.lua
MotorMatrix_setup.lua
Motor_mixer_dynamic_setup.lua AP_Scripting: Typo fixes 2024-08-06 14:03:27 +10:00
Motors_6DoF.lua
NMEA-decode.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
OOP_example.lua AP_Scripting: fix some more of the easy luacheck warnings 2023-12-13 18:10:26 +11:00
RCIN_test.lua
RC_override.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
README.md AP_Scripting:add README file to examples directory 2023-10-31 11:33:08 +11:00
RM3100_self_test.lua AP_Scripting: Add I2C transfer bindings 2024-07-30 09:40:10 +10:00
SN-GCJA5-particle-sensor.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
Safety_States.lua AP_Scripting: add bindings for E-stop, Interlock and Safety state 2023-02-07 10:24:18 +11:00
Serial_Dump.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
UART_log.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
active_source_set.lua
ahrs-print-angle-and-rates.lua
ahrs-print-home-and-origin.lua
ahrs-print-variances.lua
ahrs-set-home-to-vehicle-location.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
ahrs-source-gps-optflow.lua AP_Scripting: adjust description of aux function 90 (EK3 Source Set 2024-09-16 22:34:34 +10:00
ahrs-source-gps-wheelencoders.lua AP_Scripting: adjust description of aux function 90 (EK3 Source Set 2024-09-16 22:34:34 +10:00
ahrs-source.lua AP_Scripting: adjust description of aux function 90 (EK3 Source Set 2024-09-16 22:34:34 +10:00
analog_input_and_GPIO.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
arming-check-batt-temp.lua
arming-check-wp1-takeoff.lua AP_Scripting: Typo fixes 2024-08-06 14:03:27 +10:00
aux_cached.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
battery_internal_resistance_check.lua AP_Scripting: add battery-resistance-checking example 2024-07-22 09:09:26 +10:00
benewakeH30_can_rangefinder.lua AP_Scripting: ignore lua language check issues resulting from https://github.com/ArduPilot/ardupilot/pull/26939 2024-05-21 09:42:22 +10:00
button_test.lua
camera-test.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
cell_balance_check.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
command_int.lua AP_Scripting: added gcs:run_command_int() binding 2024-07-01 20:08:29 +10:00
copter-circle-speed.lua
copter-fast-descent.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
copter-fly-vertical-circle.lua
copter-nav-script-time.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
copter-posoffset.lua AP_Scripting: add copter-posoffset example script 2024-10-04 09:25:56 +09:00
copter-wall-climber.lua
copter_alt_offset.lua AP_Scripting: Typo fixes 2024-08-06 14:03:27 +10:00
copter_deploy.lua AP_Scripting: added example copter_deploy.lua 2024-08-03 14:29:51 +10:00
copter_pingpong.lua AP_Scripting: New script example 2023-09-27 08:14:15 +10:00
copter_pingpong.md AP_Scripting: New script example 2023-09-27 08:14:15 +10:00
copy_userdata.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
crosstrack_restore.lua AP_Scripting: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
easter-egg.lua
efi_speed_check.lua AP_Scripting: Add EFI state get example 2023-04-18 10:31:01 +10:00
esc_rpm_scale.lua
fault_handling.lua AP_Scripting: examples: fault_handling.lua: ignore errors. 2024-05-21 09:42:22 +10:00
frsky_battery.lua
frsky_rpm.lua
frsky_wp.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
fw_vtol_failsafe.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
gen_control.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
get_notify_RGB.lua
gps_synth.lua AP_Scripting: add serial device simulation example 2024-06-27 12:00:18 +10:00
hello_world.lua
hello_world_display.lua AP_Scripting: Add send_text to display binding 2024-02-07 23:52:30 +00:00
i2c_scan.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
jump_tags_calibrate_agl.lua AP_Scripting: Add example JUMP_TAG scripts 2023-02-28 12:00:18 +11:00
jump_tags_calibrate_agl.waypoints AP_Scripting: Add example JUMP_TAG scripts 2023-02-28 12:00:18 +11:00
jump_tags_into_wind_landing.lua AP_Scripting: Add example JUMP_TAG scripts 2023-02-28 12:00:18 +11:00
jump_tags_into_wind_landing.waypoints AP_Scripting: Add example JUMP_TAG scripts 2023-02-28 12:00:18 +11:00
land_hagl.lua AP_Scripting: added MAV_CMD_SET_HAGL example 2024-07-17 08:03:18 +10:00
lidar_control.lua
logging.lua
mag_heading.lua
message_interval.lua AP_Scripting: Examples: message_interval: give checker a hint about types 2024-12-08 08:09:06 +09:00
mission-edit-demo.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
mission-load.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
mission-save.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
mission_spiral.lua AP_Scripting: added mission_spiral.lua example 2023-03-10 14:13:55 +11:00
motor_lost.lua AP_Scripting: added bindings for VTOL motor loss 2023-07-13 08:03:52 +10:00
mount-test.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
net_test.lua AP_Scripting: test update 2024-10-01 10:45:10 +10:00
notch_switch.lua AP_Scripting: added notch_switch example 2024-05-29 12:56:43 +10:00
opendog_demo.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
orbit_follow.lua
param_add.lua
param_get_set_test.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
plane-callout-alt.lua AP_Scripting: Add Altitude Callout script to examples 2024-11-24 07:17:18 +11:00
plane-doublets.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
plane-wind-failsafe.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
plane-wind-fs.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
plane_guided_follow.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
plane_guided_terrain.lua AP_Scripting: example for use Location::AltFrame for guided_state.target_alt_frame 2024-09-24 22:51:02 +10:00
protected_call.lua AP_Scripting: fix some more of the easy luacheck warnings 2023-12-13 18:10:26 +11:00
proximity_test.lua
quadruped.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
rangefinder_quality_test.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
rangefinder_test.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
readstring_test.lua AP_Scripting: example showing how to use readstring method 2024-02-28 19:05:58 +11:00
relay_control.lua
rgb_led_test.lua
rgb_notify_patterns.lua
rover-MinFixType.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
rover-SaveTurns.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
rover-TerrainDetector.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
rover-motor-driver.lua
rover-set-steering-and-throttle.lua
rover-set-turn-rate.lua
serial_test.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
servo_scan.lua AP_Scripting: examples: update servo scan 2024-04-03 16:31:23 +09:00
servo_set_get.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
servo_slew.lua AP_Scripting: Typo fixes 2024-08-06 14:03:27 +10:00
set-angle.lua
set-target-location.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
set-target-velocity.lua
set_CAMERA_INFORMATION.lua AP_Scripting: Add binding for AP_Camera::set_camera_information() 2024-10-01 08:18:54 +09:00
set_target_posvel_circle.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
ship_vel_match.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
simple_loop.lua
sitl_standby_sim.lua AP_Scripting: add an example to use Copter Standby mode in SITL with LUA 2024-06-27 10:11:53 +10:00
smbus-check-cycles.lua
sub_test_synthetic_seafloor.lua autotest: large outliers in sub terrain test have low sq 2024-09-23 19:14:34 +10:00
temperature_sensor.lua AP_Scripting: add bindings for the AP_TemperatureSensor 2024-09-22 20:34:33 +10:00
terrain_warning.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
test_get_target_location.lua AP_Scripting: add test samples of get_target_location/update_target_location for copter 2024-06-25 08:29:57 +09:00
test_load.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
test_script_button.lua AP_Scripting: add sub bindings for joystick buttons 2023-09-27 08:14:36 +10:00
test_update_target_location.lua AP_Scripting: add test samples of get_target_location/update_target_location for copter 2024-06-25 08:29:57 +09:00
wp_test.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
wrap32_test.lua AP_Scripting: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00

README.md

#LUA Examples

This directory contains some script examples. For simulation the scripts should be placed in the simulation's "scripts" directory located in the root directory from which the sim is run. Note: if an example uses auxillary files (mission list, other scripts,etc.) the user will have to determine where the files should be placed from the script. If no path name is specified in the file name, then it should be placed one directory level above the "scripts" directory.