mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal, wpilib] Remove power rails that don't exist on systemcore (#7861)
This commit is contained in:
@@ -57,7 +57,7 @@ class PotentiometerPIDTest : public testing::Test {
|
||||
5v * (meters / range) = v
|
||||
*/
|
||||
m_analogSim.SetVoltage(
|
||||
(frc::RobotController::GetVoltage5V() *
|
||||
(frc::RobotController::GetVoltage3V3() *
|
||||
(m_elevatorSim.GetPosition().value() / Robot::kFullHeight))
|
||||
.value());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user