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:
Peter Johnson
2025-11-08 15:08:38 -08:00
committed by GitHub
parent aeedfa588c
commit 18efd1e534
275 changed files with 285 additions and 285 deletions

View File

@@ -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

View File

@@ -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.