Skip to content

Commit

Permalink
aerobatics: fixed github link
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Oct 17, 2023
1 parent 59135ba commit 6196456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/source/docs/common-scripting-aerobatics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The format of the SCRIPT_TIME item is:
</tbody>
</table>

A LUA script would need to be running when the above mission command is encountered to recognize that it needs to take control, and start sending pitch/roll/yaw rate inputs into the autopilot to control its attitude and/or trajectory. It can use the two variable input parameters of the command to control aspects of the maneuver, such as rate of rolls/loops, repeat counts, time for certain segments of the maneuver, etc. An example is provided in the LUA Scripting examples directory called `plane_aerobatics.lua <https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_Scripting/examples/Aerobatics/Missions>`__ for several types of tricks.
A LUA script would need to be running when the above mission command is encountered to recognize that it needs to take control, and start sending pitch/roll/yaw rate inputs into the autopilot to control its attitude and/or trajectory. It can use the two variable input parameters of the command to control aspects of the maneuver, such as rate of rolls/loops, repeat counts, time for certain segments of the maneuver, etc. An example is provided in the LUA Scripting examples directory called `plane_aerobatics.lua <https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Scripting/applets/Aerobatics/FixedWing/plane_aerobatics.lua>`__ for several types of tricks.

The execution of a script running during the NAV_SCRIPT_TIME item can easily be interrupted by switching modes out of AUTO.

Expand Down

0 comments on commit 6196456

Please sign in to comment.