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

cleaner code: #17.1 decouple manual data from _setRotorParameters #34

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

Conversation

ombahiwal
Copy link

for the first point mentioned in Issue #17

  • This PR doesn't exactly move the hardcoded values to bin
  • but separates the manually entered data from _setRotorParameters into a _get_rotor_parameters(diameter) function to retrieve values, making it more cleaner.

The manual specification of rotor speed and blade pitch in the _setRotorParameters function can be replaced with a more dynamic and flexible approach. We can use external configuration files, a parameterized function, or a database. For now, I'll suggest a Python implementation where we dynamically load these parameters from a dictionary or a separate configuration file.

@rthedin rthedin self-assigned this Jan 23, 2025
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.

2 participants