mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Move robot base classes from opmode to framework (#8344)
Having these in opmode will be confusing to users when opmodes are added.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
package org.wpilib.snippets.limitswitch;
|
||||
|
||||
import org.wpilib.opmode.RobotBase;
|
||||
import org.wpilib.framework.RobotBase;
|
||||
|
||||
/**
|
||||
* Do NOT add any static variables to this class, or any initialization at all. Unless you know what
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
package org.wpilib.snippets.limitswitch;
|
||||
|
||||
import org.wpilib.driverstation.Joystick;
|
||||
import org.wpilib.framework.TimedRobot;
|
||||
import org.wpilib.hardware.discrete.DigitalInput;
|
||||
import org.wpilib.hardware.motor.PWMVictorSPX;
|
||||
import org.wpilib.opmode.TimedRobot;
|
||||
|
||||
/**
|
||||
* Limit Switch snippets for frc-docs.
|
||||
|
||||
Reference in New Issue
Block a user