ardupilot/libraries/AP_Scripting/examples
2024-04-03 16:31:23 +09:00
..
6DoF_roll_pitch.lua AP_Scripting: add 6DoF attitude control bindings and example 2021-02-09 12:43:54 +09:00
active_source_set.lua
AHRS_switch.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: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
ahrs-set-origin.lua AP_Scripting: changed MAV_SEVERITY_EMERGENCY to INFO for origin set 2022-05-13 09:12:37 +09:00
ahrs-source-gps-optflow.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
ahrs-source-gps-wheelencoders.lua
ahrs-source.lua
analog_input_and_GPIO.lua
arming-check-batt-temp.lua AP_Scripting: example: arming auth: removed unused millis call 2020-11-11 18:24:55 +11:00
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 AP_Scripting: add camera-test example script 2023-04-13 07:04:46 +10:00
CAN_logger.lua AP_Scripting: Add CAN_Logger example script 2024-01-07 12:23:39 +11:00
CAN_MiniCheetah_drive.lua AP_Scripting: examaples move to : acsess 2022-09-06 10:39:35 +10:00
CAN_read.lua AP_Scripting: CANSensor: Add filtering of incoming frames 2023-12-12 11:32:04 +11:00
CAN_write.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_alt_offset.lua AP_Scripting: ALT_OFFSET example for copter 2022-10-03 17:31:23 +11: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
copter-circle-speed.lua AP_Scripting: add copter-circle-speed.lua example 2021-08-25 18:39:09 +10:00
copter-fast-descent.lua
copter-fly-vertical-circle.lua
copter-nav-script-time.lua
copter-wall-climber.lua
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 AP_Scripting: Add EFI state get example 2023-04-18 10:31:01 +10:00
EFI_tester.lua AP_Scripting: added Halo6000 generator/EFI driver 2023-05-30 21:04:34 +10:00
esc_rpm_scale.lua AP_Scripting: added set_rpm_scale example 2022-09-13 07:48:19 +10:00
FenceBreach.lua AP_Scripting: add bindings for fence 2023-11-07 07:52:14 +11:00
frsky_battery.lua
frsky_rpm.lua
frsky_wp.lua
fw_vtol_failsafe.lua
gen_control.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
get_notify_RGB.lua
hello_world_display.lua AP_Scripting: Add send_text to display binding 2024-02-07 23:52:30 +00:00
hello_world.lua
i2c_scan.lua
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
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 AP_Scripting: add position light example 2021-04-13 09:23:59 +10:00
LED_roll.lua
lidar_control.lua AP_Scripting: convert all examples to new parameter constructior 2022-09-14 13:59:40 +10:00
logging.lua AP_Scripting: examaples move to : acsess 2022-09-06 10:39:35 +10:00
mag_heading.lua AP_Scripting: added mag_heading example 2022-10-02 08:15:06 +11:00
MAVLink_Commands.lua AP_Scripting: add MAVLink command long and ack examples 2023-07-04 10:20:42 +10:00
MAVLinkHL.lua AP_Scripting: Account for nil battery in Rockblock and MAVLink_HL scripts 2023-08-02 12:18:46 +10:00
message_interval.lua AP_Scripting: Add an example message interval script 2019-10-16 09:48:55 +09:00
mission_spiral.lua AP_Scripting: added mission_spiral.lua example 2023-03-10 14:13:55 +11:00
Mission_test.lua
mission-edit-demo.lua AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
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
motor_lost.lua AP_Scripting: added bindings for VTOL motor loss 2023-07-13 08:03:52 +10:00
Motor_mixer_dynamic_setup.lua
MotorMatrix_fault_tolerant_hex.lua
MotorMatrix_setup.lua
Motors_6DoF.lua
mount-test.lua AP_Scripting: add mount-test example script 2022-07-02 09:21:53 +09:00
net_test.lua AP_Scripting: review fixes 2023-12-11 18:00:38 +11:00
NMEA-decode.lua
OOP_example.lua AP_Scripting: fix some more of the easy luacheck warnings 2023-12-13 18:10:26 +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_guided_follow.lua
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 AP_Scripting: examples: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
plane-wind-fs.lua AP_Scripting: fixed parameter names 2024-01-23 15:00:30 +11: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 AP_Scripting: add proximity bindings 2020-08-07 17:32:16 -07:00
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
RC_override.lua AP_Scripting: added set_override method for scripting 2022-03-22 10:21:06 +11:00
RCIN_test.lua
README.md AP_Scripting:add README file to examples directory 2023-10-31 11:33:08 +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 Scripting: simple relay example 2021-02-09 10:23:06 +11:00
rgb_led_test.lua AP_Scripting: add rgb notify led example 2019-12-12 21:35:23 -07:00
rgb_notify_patterns.lua AP_Scripting: add rgb control for independent LEDs 2021-09-30 08:52:27 +10:00
rover-MinFixType.lua AP_Scripting: Remove executable permissions 2023-09-08 17:09:26 +10:00
rover-motor-driver.lua AP_Scripting: add rover-motor-driver example script 2020-08-20 14:09:29 +09:00
rover-SaveTurns.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
rover-set-steering-and-throttle.lua AP_Scripting: add rover-set-steering-and-throttle example script 2020-06-24 08:34:41 +09:00
rover-set-turn-rate.lua
rover-TerrainDetector.lua AP_Scripting: add set_desired_speed binding 2022-07-07 19:34:10 +09: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: fix easy lua check issues in examples 2023-10-31 11:11:52 +11:00
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 AP_Scripting: added example that slew a servo with controls 2023-05-03 15:23:01 +10:00
set_target_posvel_circle.lua AP_Scripting: fix easy lua check issues in examples 2023-10-31 11:11:52 +11: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
ship_vel_match.lua
simple_loop.lua AP_Scripting: add send_named_float to simple loop example 2021-02-17 18:49:20 +11:00
smbus-check-cycles.lua AP_Scripting: example to check battery cycle count 2019-12-18 15:54:42 +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
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 AP_Scripting: add sub bindings for joystick buttons 2023-09-27 08:14:36 +10:00
UART_log.lua AP_Scripting: Examples: UART log: remove spaces in log description 2023-09-12 08:46:00 +10: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: added wrap32_test.lua for testing wrap32 usec bdshot bug 2023-03-24 08:31:25 +11:00

#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.