RobotCore
1.0
WPILib port to raspberry Pi
Toggle main menu visibility
Loading...
Searching...
No Matches
RobotState.java
1
package
robotCore;
2
3
public
final
class
RobotState
4
{
5
public
static
boolean
isDisabled()
6
{
7
return
RobotCore.getInstance().isRobotDisabled();
8
}
9
10
public
static
boolean
isEnabled()
11
{
12
return
RobotCore.getInstance().isRobotEnabled();
13
}
14
15
public
static
boolean
isEStopped()
16
{
17
return
false
;
18
}
19
20
public
static
boolean
isOperatorControl()
21
{
22
return
RobotCore.getInstance().isOperatorControl();
23
}
24
25
public
static
boolean
isAutonomous()
26
{
27
return
RobotCore.getInstance().isRobotAutonomous();
28
}
29
30
public
static
boolean
isTest() {
31
return
RobotCore.getInstance().isRobotTest();
32
}
33
34
private
RobotState()
35
{
36
}
37
}
robotCore
RobotState.java
Generated by
1.18.0