-
Notifications
You must be signed in to change notification settings - Fork 0
Implemented WingsailController Class #27
base: main
Are you sure you want to change the base?
Conversation
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.
Good initial work. There are a few things that need to be addressed before this can be merged into the main branch.
@evannawfal Please change the title of the PR to something more descriptive. This is the message that shows up in the commit history in the main branch, so it needs to be descriptive enough for others to have a high-level understanding of what this PR was for. |
def get_trim_tab_angle( | ||
self, apparent_wind_speed: float, apparent_wind_direction: float | ||
) -> float: |
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 recommend overloading this function where you accept the apparent wind vector, calculate the wind speed and direction, and then call this function to get the trim tab angle.
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.
Let's hold off doing this until we figured out the angle convention.
We want to change the angle convention as per our conversation, but let's leave that in another issue |
…il-Controller-Class
Description
Made a Wingsail Controller class and a class for testing as well.
Verification
Created tests to validate functionality.
Resources
#20