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

WIP: AUTOLAND mode for Plane #28726

Closed
wants to merge 6 commits into from
Closed

Conversation

Hwurzburg
Copy link
Collaborator

No description provided.

@Hwurzburg Hwurzburg added the WIP label Nov 24, 2024
@rmackay9
Copy link
Contributor

remember to prefix the commits with "Plane:"

plane.next_WP_loc = home;
uint16_t bearing_cd = wrap_360((plane.takeoff_state.takeoff_initial_direction + 180));
plane.next_WP_loc.offset_bearing(bearing_cd, final_wp_dist);
plane.next_WP_loc.alt = home.alt + final_wp_alt*100;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're trying to move to always using a frame with an altitude. Could you use set_alt_cm()? (or set_alt_m() but since you have cm anyway ...).

@Hwurzburg
Copy link
Collaborator Author

closing for final version #28771

@Hwurzburg Hwurzburg closed this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants