mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Rename DriverStation::IsOperatorControl() to IsTeleop() (#3505)
This commit is contained in:
@@ -179,11 +179,19 @@ bool RobotBase::IsAutonomousEnabled() const {
|
||||
}
|
||||
|
||||
bool RobotBase::IsOperatorControl() const {
|
||||
return DriverStation::IsOperatorControl();
|
||||
return DriverStation::IsTeleop();
|
||||
}
|
||||
|
||||
bool RobotBase::IsTeleop() const {
|
||||
return DriverStation::IsTeleop();
|
||||
}
|
||||
|
||||
bool RobotBase::IsOperatorControlEnabled() const {
|
||||
return DriverStation::IsOperatorControlEnabled();
|
||||
return DriverStation::IsTeleopEnabled();
|
||||
}
|
||||
|
||||
bool RobotBase::IsTeleopEnabled() const {
|
||||
return DriverStation::IsTeleopEnabled();
|
||||
}
|
||||
|
||||
bool RobotBase::IsTest() const {
|
||||
|
||||
Reference in New Issue
Block a user