FRC8167 / Into-The-Deep

This is the official SDK for the 2024=2025 Into The Deep Challenge
BSD 3-Clause Clear License
0 stars 0 forks source link

Servo1D Range Clamping #2

Closed dwheatle closed 3 weeks ago

dwheatle commented 4 weeks ago

Because the class was abstracted to be used for more than one sub system, the following code needs to be updated. The maximum and minimum rotation positions will have to be additional constructor arguments and saved as Servo1D class variables.

https://github.com/FRC8167/Into-The-Deep/blob/0ebdaa7a968fb6561eab1c410ae460e70fec0893/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/SubSytems/Servo1D.java#L19-L21