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

Sail Controller Class #303

Closed
DFriend01 opened this issue Jan 17, 2024 · 0 comments · Fixed by #327 · May be fixed by UBCSailbot/controller#27
Closed

Sail Controller Class #303

DFriend01 opened this issue Jan 17, 2024 · 0 comments · Fixed by #327 · May be fixed by UBCSailbot/controller#27
Assignees
Labels
ctrl Controller team enhancement New feature or request

Comments

@DFriend01
Copy link
Contributor

Purpose

This class is meant to compute the trim tab angle that will be published to the ROS network.

Description

Note: The completion of this issue depends on UBCSailbot/controller#20. To get started, placeholder code can be used until the LUT class is available for use.

Remember to take inspiration from the controller prototype that was implemented last term. This will guide your implementation. Create a class for the sail controller in controller/wingsail/controllers.py.

Inputs:

  • The lookup table to use for interpolation

Class Functionality:

  • The main public method should return the desired trim tab angle. Implement any private methods you wish to help with this.

Tests:

  • Implement your tests in tests/unit/wingsail/test_controllers.py. See the boat simulator for examples on how to implement tests using pytest.

Resources

@DFriend01 DFriend01 added the enhancement New feature or request label Jan 17, 2024
@DFriend01 DFriend01 added the ctrl Controller team label Mar 10, 2024
@DFriend01 DFriend01 transferred this issue from UBCSailbot/controller Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctrl Controller team enhancement New feature or request
Projects
Archived in project
2 participants