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

Update inconsistent naming for angle of attack #647

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

nathanperreau
Copy link

Summary

This PR will pull in Task152 branch from the nathanperreau/Aviary forked repository. The branch focuses on modifying 'angle_of_attack' strings that exist in various files through the Aviary directory. They are being replaced with a standardized variable stored in the meta data.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@jkirk5 jkirk5 changed the title Task152 Update inconsistent naming for angle of attack Jan 21, 2025
@@ -1606,7 +1606,7 @@ def _split_aviary_values(aviary_values, slicing):
landing_fullstop_initial_guesses.set_val('velocity', [135., 0.01], 'kn')
landing_fullstop_initial_guesses.set_val('mass', detailed_landing_mass, 'lbm')
landing_fullstop_initial_guesses.set_val('throttle', 0.)
landing_fullstop_initial_guesses.set_val('angle_of_attack', 0., 'deg')
landing_fullstop_initial_guesses.set_val(Dynamic.Vehicle.ANGLE_OF_ATTACK, 0., 'deg')
Copy link
Member

Choose a reason for hiding this comment

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

Looks like you did a global search and replace, which is a good way to do this. For this N3CC data file though, it looks like we haven't updated any of the other dynamic variables (velocity, mass, etc.).

Copy link
Member

@Kenneth-T-Moore Kenneth-T-Moore left a comment

Choose a reason for hiding this comment

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

Approving. Mostly good, though there is room for a little more cleanup in the N3cc data file. ALso, some PEP issues to clean up.

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

Successfully merging this pull request may close these issues.

Inconsistent usage of alpha and angle_of_attack
3 participants