-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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 Plane autoland applet #28591
Conversation
yeah, I thought about that but forgot....will wrap it
|
3575140
to
323fa32
Compare
@timtuxworth yeah I lost the mission reset somewhere along the way...made a few tweaks also...felt I needed the user to consciously set the SCR_USER params instead of providing a default if they did not... |
a886d16
to
d46cf25
Compare
I have read the instructions 10 times, but have not yet understood how exactly the landing direction is determined ? (I don't mean in the LUA script, but actually in flight operations) |
Ahrs has a get yaw function that returns vehicle heading....it's captured when valid and used to create the final approach waypoint in line with takeoff direction |
7834b7b
to
d4a2109
Compare
244ea59
to
57ebff7
Compare
I test flew on compass-less plane with strong wind...both into the wind and at 90deg crosswind....in both cases the created final approach waypoint was placed in line with throw direction....much better crosswind performance than waiting for LVL_ALT, since by then the yaw has weathervaned into the wind rather than being the initial throw/roll-out direction... |
397bc46
to
148c85a
Compare
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.
I think an autotest that checks we end up close to home and pointing in the reverse direction (within a margin) of the takeoff direction would be worthwhile
An autotest is gating a Lua applet? |
a636b32
to
99af312
Compare
bcfe47e
to
ddf53f9
Compare
Facilitates having an autoland FS mission setup for flying from fields without prior planning(or computers).....sets up an autolanding sequence based on takeoff direction....
https://youtu.be/Y8Hn5h5h-3s?si=d7UuL5IL1rAcW1ZM