ardupilot/libraries/AP_Scripting/examples
Peter Mullen c0a8e6c96a AP_Scripting: lua range finder driver that returns distances to a simulated sea floor for testing ArduSub surface tracking modes 2024-04-08 11:18:23 -03:00
..
6DoF_roll_pitch.lua
AHRS_switch.lua
CAN_MiniCheetah_drive.lua
CAN_logger.lua AP_Scripting: Add CAN_Logger example script 2024-01-07 12:23:39 +11:00
CAN_read.lua AP_Scripting: CANSensor: Add filtering of incoming frames 2023-12-12 11:32:04 +11:00
CAN_write.lua
EFI_tester.lua
FenceBreach.lua AP_Scripting: add bindings for fence 2023-11-07 07:52:14 +11:00
LED_matrix_image.lua
LED_matrix_text.lua
LED_poslight.lua
LED_roll.lua
MAVLinkHL.lua
MAVLink_Commands.lua
Mission_test.lua
MotorMatrix_fault_tolerant_hex.lua
MotorMatrix_setup.lua
Motor_mixer_dynamic_setup.lua
Motors_6DoF.lua
NMEA-decode.lua
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
README.md AP_Scripting:add README file to examples directory 2023-10-31 11:33:08 +11:00
SN-GCJA5-particle-sensor.lua AP_Scripting: examples: update examples for fixed io.open behaviour 2024-01-01 13:15:37 +11:00
Safety_States.lua
Serial_Dump.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
UART_log.lua
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
ahrs-set-origin.lua
ahrs-source-gps-optflow.lua
ahrs-source-gps-wheelencoders.lua
ahrs-source.lua
analog_input_and_GPIO.lua
arming-check-batt-temp.lua
arming-check-wp1-takeoff.lua
aux_cached.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
benewakeH30_can_rangefinder.lua
button_test.lua
camera-test.lua
cell_balance_check.lua AP_Scripting: added get_cell_voltage() API and arming check example 2023-10-25 07:31:24 +11:00
copter-circle-speed.lua
copter-fast-descent.lua
copter-fly-vertical-circle.lua
copter-nav-script-time.lua
copter-wall-climber.lua
copter_alt_offset.lua
copter_pingpong.lua
copter_pingpong.md
copy_userdata.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
easter-egg.lua
efi_speed_check.lua
esc_rpm_scale.lua
frsky_battery.lua
frsky_rpm.lua
frsky_wp.lua
fw_vtol_failsafe.lua
gen_control.lua
get_notify_RGB.lua
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
jump_tags_calibrate_agl.lua
jump_tags_calibrate_agl.waypoints
jump_tags_into_wind_landing.lua
jump_tags_into_wind_landing.waypoints
lidar_control.lua
logging.lua
mag_heading.lua
message_interval.lua
mission-edit-demo.lua
mission-load.lua AP_Scripting: add note to miision_load.lua about file locations 2023-10-31 10:40:34 +11:00
mission-save.lua AP_Scripting: examples: update examples for fixed io.open behaviour 2024-01-01 13:15:37 +11:00
mission_spiral.lua
motor_lost.lua
mount-test.lua
net_test.lua AP_Scripting: review fixes 2023-12-11 18:00:38 +11: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-doublets.lua AP_Scripting: fix some more of the easy luacheck warnings 2023-12-13 18:10:26 +11:00
plane-wind-failsafe.lua
plane-wind-fs.lua AP_Scripting: fixed parameter names 2024-01-23 15:00:30 +11:00
plane_guided_follow.lua
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: fix some more of the easy luacheck warnings 2023-12-13 18:10:26 +11:00
rangefinder_quality_test.lua AP_Scripting: Add LUA interface to access Range Finder state 2024-01-02 11:31:02 +11: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
rover-SaveTurns.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
rover-TerrainDetector.lua
rover-motor-driver.lua
rover-set-steering-and-throttle.lua
rover-set-turn-rate.lua
serial_test.lua
servo_scan.lua AP_Scripting: examples: update servo scan 2024-04-03 16:31:23 +09:00
servo_set_get.lua
servo_slew.lua
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_target_posvel_circle.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
ship_vel_match.lua
simple_loop.lua
smbus-check-cycles.lua
sub_test_synthetic_seafloor.lua AP_Scripting: lua range finder driver that returns distances to a simulated sea floor for testing ArduSub surface tracking modes 2024-04-08 11:18:23 -03:00
terrain_warning.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
test_load.lua AP_Scripting: fix some more of the easy luacheck warnings 2023-12-13 18:10:26 +11:00
test_script_button.lua
wp_test.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
wrap32_test.lua

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.