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

Switch to Duty-Cycle, remove inversion, clean up various functions #165

Merged
merged 7 commits into from Feb 3, 2024

Conversation

5010TigerDynasty
Copy link
Contributor

@5010TigerDynasty 5010TigerDynasty commented Feb 1, 2024

The switch to duty-cycle does give 'better' values that are in the right range without having to divide by 12.
One discovery is that the wheels don't go to the 0 position when calling centerModules(), but will set to 180 if they are closer to that. Starting the robot with the wheels set close to their origins fixes this. The need to do this explains why we had to invert some motors. So, once that was discovered, the inversion code was no longer needed.
The clean up is just for better consistency of a few things like using DutyCycle in the Angle function and Degrees in the mutable. I also made use of withTImeout instead of deadline with in the command.

@thenetworkgrinch thenetworkgrinch merged commit 731d727 into BroncBotz3481:dev Feb 3, 2024
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.

None yet

3 participants