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

Rotation Control #7

Closed
OccultSlolem opened this issue Jan 18, 2020 · 2 comments
Closed

Rotation Control #7

OccultSlolem opened this issue Jan 18, 2020 · 2 comments
Labels
invalid This doesn't seem right

Comments

@OccultSlolem
Copy link
Contributor

Parameters:

  • If the FMS is not distributing a color, than we know that we should be in rotation control, so we can use a single button for both rotation and position
  • When gamepad button is pressed, the motor for the spinner will go a certain measured number of encoder ticks using closed-loop control
if(PositionControlColor.length() == 0) { //If FMS has NOT given a color for position control yet (ie it is not unlocked and we need to do rotation control first)
    RotationControl(); //Do rotation control
}
@OccultSlolem OccultSlolem added the enhancement New feature or request label Jan 18, 2020
@OccultSlolem
Copy link
Contributor Author

Awaiting further discussion on 2/3

@OccultSlolem OccultSlolem added invalid This doesn't seem right and removed enhancement New feature or request labels Feb 4, 2020
@OccultSlolem
Copy link
Contributor Author

Merged into #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant