-
Notifications
You must be signed in to change notification settings - Fork 13
Issue #01: team-02 - Add aero surface info to Rocket.allinfo() #99
base: master
Are you sure you want to change the base?
Conversation
In the above example, we had the following parameters:
|
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.
Expected behavior after accpeting changes:
Overall, a very good pull request, simple to review and ]understand, congratulations and Thank You @SullivanMuse !!
|
||
# Print Aerodynamic Components Information | ||
print("\nAerodynamic Components") | ||
print(self.aerodynamicSurfaces) |
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 would suggest a minor change here so the user can better visualize the outputs:
print(self.aerodynamicSurfaces) | |
for surface in self.aerodynamicSurfaces: | |
if 'name' in surface: | |
print(surface['name']) | |
else: | |
print('Unnamed Surface:') | |
print(surface) |
The 10 points label was added, task is completed! |
May recieve an extra 20% points since it was the onlly team solving this challege |
Pull request type
Please check the type of change your PR introduces:
Pull request checklist
Please check if your PR fulfills the following requirements, depending on the type of PR:
ReadMe, Docs and GitHub maintenance:
Code base maintenance (refactoring, formatting, renaming):
black rocketpy
) has passed locally and any fixes were madepytest --runslow
) have passed locallyCode base additions (for bug fixes / features):
black rocketpy
) has passed locally and any fixes were madepytest --runslow
) have passed locallyWhat is the current behavior?
The
Rocket.allinfo
method prints a lot of info about theRocket
configuration.Hackathon Issue #1
What is the new behavior?
The
Rocket.allinfo
method now prints additional information regarding the aerodynamic surfaces, including extra info for those created viaRocket.addFins
.Does this introduce a breaking change?
Other information