-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
Lua binding to set airspeed for a fixed wing Plane #27223
Conversation
I thought it might be a good idea to split this out of my scripting PR's so the AP/c++ code can get potentially merged without getting caught up in discussions about the Lua code. I'm thinking others might also find this useful. @IamPete1 could I ask you to take a look? |
1bd4ad8
to
e20a050
Compare
Do you have any thoughts @Hwurzburg ? |
1c2d820
to
5898bc9
Compare
5898bc9
to
99e9172
Compare
0ff3deb
to
6b58e90
Compare
6b58e90
to
13f308f
Compare
This has been tested on a real quadplane by a partner. |
Based on the dev call 2024-06-17 could you take a look at this please @tridge ? (no rush) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peterbarker I think this PR is a great example of where we need generic access to MAV_CMD_xxx from lua. As we have discussed I think we should just bind it to the first mavlink GCS instance instead of creating a dedicated instance (at least for now), but open to discussion
If we did that then all the MAV_CMD_GUIDED_xxx functionality would be available at very low cost, along with all the other fns
3c51322
to
9e18667
Compare
9e18667
to
6a751dd
Compare
Tridge's MavLink Command_int Lua interface PR is at least as good as this. |
For a method to allow plane airspeed to be set for a fixed wing. Currently this will only work in Guided and Auto mode.