mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] Rename HALBase.h to HAL.h (#8668)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
HAL_Initialize(500, 0);
|
||||
|
||||
6
hal/robotpy_pybind_build_info.bzl
generated
6
hal/robotpy_pybind_build_info.bzl
generated
@@ -209,10 +209,10 @@ def wpihal_extension(srcs = [], header_to_dat_deps = [], extra_hdrs = [], includ
|
||||
trampolines = [],
|
||||
),
|
||||
struct(
|
||||
class_name = "HALBase",
|
||||
yml_file = "semiwrap/HALBase.yml",
|
||||
class_name = "HAL",
|
||||
yml_file = "semiwrap/HAL.yml",
|
||||
header_root = "$(execpath :robotpy-native-wpihal.copy_headers)",
|
||||
header_file = "$(execpath :robotpy-native-wpihal.copy_headers)/wpi/hal/HALBase.h",
|
||||
header_file = "$(execpath :robotpy-native-wpihal.copy_headers)/wpi/hal/HAL.h",
|
||||
tmpl_class_names = [],
|
||||
trampolines = [],
|
||||
),
|
||||
|
||||
@@ -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/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
int main() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.List;
|
||||
/**
|
||||
* JNI Wrapper for Hardware Abstraction Layer (HAL).
|
||||
*
|
||||
* @see "wpi/hal/HALBase.h"
|
||||
* @see "wpi/hal/HAL.h"
|
||||
* @see "wpi/hal/Main.h"
|
||||
*/
|
||||
public final class HAL extends JNIWrapper {
|
||||
|
||||
@@ -7,7 +7,7 @@ package org.wpilib.hardware.hal;
|
||||
/**
|
||||
* Hardware Abstraction Layer (HAL) Utilities JNI Functions.
|
||||
*
|
||||
* @see "wpi/hal/HALBase.h"
|
||||
* @see "wpi/hal/HAL.h"
|
||||
*/
|
||||
public final class HALUtil extends JNIWrapper {
|
||||
/** A pointer parameter to a method is NULL. */
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/SmallString.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <cstdio>
|
||||
#include <limits>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "HALUtil.hpp"
|
||||
#include "org_wpilib_hardware_hal_DriverStationJNI.h"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
static_assert(
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// 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 <jni.h>
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include <jni.h>
|
||||
|
||||
#ifdef __FRC_SYSTEMCORE__
|
||||
#include <signal.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Value.h"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "OpModeOptionsCallbackStore.hpp"
|
||||
#include "SimDeviceDataJNI.hpp"
|
||||
#include "org_wpilib_hardware_hal_simulation_SimulatorJNI.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/simulation/MockHooks.h"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/hal/simulation/AlertData.h"
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
// 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/hal/HAL.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#pragma comment(lib, "Winmm.lib")
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
namespace wpi::hal::init {
|
||||
std::atomic_bool HAL_IsInitialized{false};
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "HALInitializer.hpp"
|
||||
#include "NotifierInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Threads.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/hal/simulation/AlertData.h"
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// 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/hal/HAL.h"
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <signal.h> // linux for kill
|
||||
#include <sys/prctl.h>
|
||||
@@ -17,7 +19,6 @@
|
||||
#include "SystemServerInternal.hpp"
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/timestamp.hpp"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
namespace wpi::hal::init {
|
||||
std::atomic_bool HAL_IsInitialized{false};
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Threads.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "PortsInternal.hpp"
|
||||
#include "REVPDH.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/Value.h"
|
||||
#include <semiwrap_init.hal._wpiHal.hpp>
|
||||
|
||||
@@ -68,7 +68,7 @@ DriverStation = "wpi/hal/DriverStation.hpp"
|
||||
DriverStationTypes_c = "wpi/hal/DriverStationTypes.h"
|
||||
DriverStationTypes = "wpi/hal/DriverStationTypes.hpp"
|
||||
Extensions = "wpi/hal/Extensions.h"
|
||||
HALBase = "wpi/hal/HALBase.h"
|
||||
HAL = "wpi/hal/HAL.h"
|
||||
Main = "wpi/hal/Main.h"
|
||||
Notifier_c = "wpi/hal/Notifier.h"
|
||||
Notifier = "wpi/hal/Notifier.hpp"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// 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 <gtest/gtest.h>
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
namespace wpi::hal {
|
||||
TEST(HALTest, RuntimeType) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
HAL_Initialize(500, 0);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "wpi/hal/AnalogInput.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "wpi/hal/DIO.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include "wpi/hal/CTREPCM.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/simulation/CTREPCMData.h"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/PWM.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <thread>
|
||||
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
extern "C" int HALSIM_InitExtension(void);
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
HAL_Initialize(500, 0);
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "wpi/glass/Model.hpp"
|
||||
#include "wpi/glass/View.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/simulation/MockHooks.h"
|
||||
#include "wpi/hal/simulation/NotifierData.h"
|
||||
#include "wpi/halsim/gui/HALSimGui.hpp"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
HAL_Initialize(500, 0);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <thread>
|
||||
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
extern "C" int HALSIM_InitExtension(void);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <thread>
|
||||
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
extern "C" int HALSIM_InitExtension(void);
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "WebServerClientTest.hpp"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/simulation/DIOData.h"
|
||||
#include "wpi/halsim/ws_server/HALSimWSServer.hpp"
|
||||
#include "wpi/net/uv/Loop.hpp"
|
||||
|
||||
@@ -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/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/system/WPILibVersion.hpp"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "wpi/datalog/DataLog.hpp"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Power.h"
|
||||
#include "wpi/nt/BooleanTopic.hpp"
|
||||
#include "wpi/nt/IntegerTopic.hpp"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "wpi/driverstation/DriverStation.hpp"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Notifier.hpp"
|
||||
#include "wpi/opmode/OpMode.hpp"
|
||||
#include "wpi/util/SafeThread.hpp"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/util/StackTrace.hpp"
|
||||
#include "wpi/util/fs.hpp"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Power.h"
|
||||
#include "wpi/system/Errors.hpp"
|
||||
#include "wpi/util/string.hpp"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Notifier.hpp"
|
||||
#include "wpi/system/Errors.hpp"
|
||||
#include "wpi/system/Timer.hpp"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "wpi/cameraserver/CameraServerShared.hpp"
|
||||
#include "wpi/driverstation/DriverStation.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/UsageReporting.hpp"
|
||||
#include "wpi/math/util/MathShared.hpp"
|
||||
#include "wpi/nt/NetworkTable.hpp"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <thread>
|
||||
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Main.h"
|
||||
#include "wpi/nt/NetworkTable.hpp"
|
||||
#include "wpi/system/Errors.hpp"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/DriverStationTypes.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "wpi/cs/cscore_c.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/nt/ntcore.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/simulation/AnalogInputSim.hpp"
|
||||
#include "wpi/simulation/RoboRioSim.hpp"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
#ifndef __FRC_SYSTEMCORE__
|
||||
namespace wpi::impl {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/led/AddressableLED.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/driverstation/Alert.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/discrete/AnalogInput.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/discrete/DigitalInput.hpp"
|
||||
#include "wpi/hardware/discrete/DigitalOutput.hpp"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/discrete/DigitalOutput.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/driverstation/DriverStation.hpp"
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
using namespace wpi;
|
||||
using namespace wpi::sim;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/rotation/DutyCycleEncoder.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/rotation/DutyCycle.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/rotation/Encoder.hpp"
|
||||
#include "wpi/util/deprecated.hpp"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hardware/discrete/PWM.hpp"
|
||||
|
||||
namespace wpi::sim {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "callback_helpers/TestCallbackHelpers.hpp"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Ports.h"
|
||||
#include "wpi/hardware/power/PowerDistribution.hpp"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/simulation/AddressableLEDSim.hpp"
|
||||
#include "wpi/simulation/AnalogInputSim.hpp"
|
||||
#include "wpi/simulation/CTREPCMSim.hpp"
|
||||
|
||||
@@ -18,7 +18,7 @@ that want even more control over what code runs on their robot.
|
||||
#include "wpi/hal/DIO.h"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/PWM.h"
|
||||
|
||||
HAL_RobotMode getDSMode(void) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
/**
|
||||
* Runs all unit tests.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
/**
|
||||
* Runs all unit tests.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
/**
|
||||
* Runs all unit tests.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
/**
|
||||
* Runs all unit tests.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
/**
|
||||
* Runs all unit tests.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
|
||||
/**
|
||||
* Runs all unit tests.
|
||||
|
||||
Reference in New Issue
Block a user