Hi @MikeFair -
You can find examples of controlling the autopilot in this example! It changes the autopilot mode to loiter, executes commands to control outputs based on inputs, and then resumes the mission in Auto mode! These examples also detail other ways this could be done, including loading waypoints for missions.