Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Scripting: add mission bindings and example #12872

Merged
merged 4 commits into from
Feb 28, 2020

Conversation

IamPete1
Copy link
Member

This work was funded by 3DXR.

This adds bindings for missions to scripting and a fun example that randomly resets the mission item once the end of a mission is reached.

The only thing I'm having an issue with is the mission status. If I use the enum it doesn't work as expected, I couldn't find a enum example so its quite possible its a PEBKAC.

@IamPete1 IamPete1 force-pushed the scripting branch 2 times, most recently from a81ad03 to 4165841 Compare November 29, 2019 00:38
@IamPete1
Copy link
Member Author

fixed use of lua mission status enum in mission example

@rmackay9
Copy link
Contributor

A user request on the rover forum could probably be resolved if we got this PR into master. https://discuss.ardupilot.org/t/add-do-set-parameter-to-create-missions/50961/2

@WickedShell WickedShell merged commit 6587653 into ArduPilot:master Feb 28, 2020
@IamPete1 IamPete1 deleted the scripting branch February 28, 2020 01:07
@WickedShell
Copy link
Contributor

Sorry this took so long!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants