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 frc.robot;
import org.wpilib.opmode.RobotBase;
import org.wpilib.framework.RobotBase;
public final class Main {
private Main() {}

View File

@@ -4,7 +4,7 @@
package frc.robot;
import org.wpilib.opmode.TimedRobot;
import org.wpilib.framework.TimedRobot;
public class Robot extends TimedRobot {
/**

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "wpi/opmode/TimedRobot.hpp"
#include "wpi/framework/TimedRobot.hpp"
class Robot : public wpi::TimedRobot {
public: