Quote:
Originally Posted by WillNess
- Is there any way to do something only if the robot is in practice mode or playing an actual match?
|
You could use:
Code:
DriverStation.getInstance().isFMSAttached()
to detect whether the robot is connected to the field, but I don't think this works for practice mode.