Remove deprecated code (#8656)

This commit is contained in:
Gold856
2026-03-15 00:28:31 -04:00
committed by GitHub
parent f1adce4cf7
commit d1fba06851
52 changed files with 10 additions and 1135 deletions

View File

@@ -62,25 +62,3 @@ wpi::units::radian_t XRPServo::GetAngle() const {
return 90_deg;
}
void XRPServo::SetPosition(double pos) {
if (pos < 0.0) {
pos = 0.0;
}
if (pos > 1.0) {
pos = 1.0;
}
if (m_simPosition) {
m_simPosition.Set(pos);
}
}
double XRPServo::GetPosition() const {
if (m_simPosition) {
return m_simPosition.Get();
}
return 0.5;
}