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

@@ -11,13 +11,13 @@
#include <fmt/format.h>
#include "wpi/framework/RobotBase.hpp"
#include "wpi/hal/Ports.h"
#include "wpi/hal/REVPH.h"
#include "wpi/hal/UsageReporting.h"
#include "wpi/hardware/pneumatic/Compressor.hpp"
#include "wpi/hardware/pneumatic/DoubleSolenoid.hpp"
#include "wpi/hardware/pneumatic/Solenoid.hpp"
#include "wpi/opmode/RobotBase.hpp"
#include "wpi/system/Errors.hpp"
#include "wpi/util/NullDeleter.hpp"
#include "wpi/util/SensorUtil.hpp"

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/IterativeRobotBase.hpp"
#include "wpi/framework/IterativeRobotBase.hpp"
#include "wpi/driverstation/DSControlWord.hpp"
#include "wpi/driverstation/DriverStation.hpp"

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/RobotState.hpp"
#include "wpi/framework/RobotState.hpp"
#include "wpi/driverstation/DriverStation.hpp"

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"
#include <stdint.h>

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/TimesliceRobot.hpp"
#include "wpi/framework/TimesliceRobot.hpp"
#include "wpi/system/Errors.hpp"

View File

@@ -16,9 +16,9 @@
#include "wpi/datalog/DataLogBackgroundWriter.hpp"
#include "wpi/datalog/FileLogger.hpp"
#include "wpi/driverstation/DriverStation.hpp"
#include "wpi/framework/RobotBase.hpp"
#include "wpi/hal/UsageReporting.h"
#include "wpi/nt/NetworkTableInstance.hpp"
#include "wpi/opmode/RobotBase.hpp"
#include "wpi/system/Errors.hpp"
#include "wpi/system/Filesystem.hpp"
#include "wpi/system/RobotController.hpp"

View File

@@ -6,7 +6,7 @@
#include <string>
#include "wpi/opmode/RobotBase.hpp"
#include "wpi/framework/RobotBase.hpp"
#include "wpi/util/fs.hpp"
std::string wpi::filesystem::GetLaunchDirectory() {