mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11: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 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/opmode/RobotBase.hpp"
|
||||
#include "wpi/framework/RobotBase.hpp"
|
||||
#include "wpi/system/Watchdog.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/framework/IterativeRobotBase.hpp"
|
||||
#include "wpi/hal/Notifier.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/opmode/IterativeRobotBase.hpp"
|
||||
#include "wpi/system/RobotController.hpp"
|
||||
#include "wpi/units/frequency.hpp"
|
||||
#include "wpi/units/math.hpp"
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "wpi/opmode/TimedRobot.hpp"
|
||||
#include "wpi/framework/TimedRobot.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
namespace wpi {
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <string_view>
|
||||
|
||||
#include "wpi/framework/RobotBase.hpp"
|
||||
#include "wpi/nt/NetworkTableInstance.hpp"
|
||||
#include "wpi/nt/StringTopic.hpp"
|
||||
#include "wpi/opmode/RobotBase.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user