Skip to content

mohanbabi/ardupilot-LUA-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

ArduPilot Scripts

parabolic_drop.lua

A Lua script for ArduPilot to perform a parabolic payload drop during a mission.

Features

  • Calculates drop distance based on velocity and altitude.
  • Controls a servo to release the payload at the calculated point.
  • Returns the servo to a closed position after release.
  • Resets for multiple missions on disarm.

Usage

  • Set SERVO10_FUNCTION = 1 (or appropriate channel).
  • Adjust is_sitl based on your environment (true for SITL, false for real hardware).
  • Upload to your flight controller and run a mission.

About

ardupilot-LUA-scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages