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

remove default for waypoint speed #331

Open
DanAlbert opened this issue Jul 29, 2023 · 0 comments
Open

remove default for waypoint speed #331

DanAlbert opened this issue Jul 29, 2023 · 0 comments

Comments

@DanAlbert
Copy link
Collaborator

FlyingGroup.add_waypoint allows a default speed of 600kph ground speed, regardless of aircraft type or altitude. There isn't a really a safe default, so this just invites programming errors that aren't apparent until runtime.

Instead, there should be two different functions: add_waypoint_with_speed and add_waypoint_with_tot (DCS requires that exactly one of those is set) where the argument is required.

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

No branches or pull requests

1 participant