mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +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.analogpotentiometer;
|
||||
|
||||
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
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
package org.wpilib.snippets.analogpotentiometer;
|
||||
|
||||
import org.wpilib.framework.TimedRobot;
|
||||
import org.wpilib.hardware.discrete.AnalogInput;
|
||||
import org.wpilib.hardware.rotation.AnalogPotentiometer;
|
||||
import org.wpilib.opmode.TimedRobot;
|
||||
|
||||
/**
|
||||
* AnalogPotentiometer snippets for frc-docs.
|
||||
|
||||
Reference in New Issue
Block a user