mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Classify other libraries' headers properly and fix committed formatting issues (#620)
This commit is contained in:
committed by
Peter Johnson
parent
a4e781a231
commit
6e4f66cc8b
@@ -33,6 +33,13 @@ modifiableFileExclude {
|
||||
\.so$
|
||||
}
|
||||
|
||||
includeOtherLibs {
|
||||
^HAL/
|
||||
^llvm/
|
||||
^opencv2/
|
||||
^support/
|
||||
}
|
||||
|
||||
includeProject {
|
||||
^ctre/
|
||||
}
|
||||
|
||||
48
hal/.styleguide
Normal file
48
hal/.styleguide
Normal file
@@ -0,0 +1,48 @@
|
||||
cppHeaderExtensions {
|
||||
h
|
||||
hpp
|
||||
inc
|
||||
}
|
||||
|
||||
cppSrcExtensions {
|
||||
cpp
|
||||
}
|
||||
|
||||
otherExtensions {
|
||||
java
|
||||
}
|
||||
|
||||
genFileExclude {
|
||||
gmock/
|
||||
ni-libraries/
|
||||
hal/src/main/native/athena/ctre/
|
||||
hal/src/main/native/athena/frccansae/
|
||||
hal/src/main/native/athena/visa/
|
||||
hal/src/main/native/include/ctre/
|
||||
simulation/JavaGazebo/build/classes/main/gazebo/msgs/
|
||||
wpilibj/src/athena/cpp/nivision/
|
||||
UsageReporting\.h$
|
||||
}
|
||||
|
||||
modifiableFileExclude {
|
||||
wpilibj/src/arm-linux-jni/
|
||||
wpilibj/src/main/native/cpp/
|
||||
\.patch$
|
||||
\.png$
|
||||
\.py$
|
||||
\.so$
|
||||
}
|
||||
|
||||
includeOtherLibs {
|
||||
^FRC_FPGA_ChipObject/
|
||||
^FRC_NetworkCommunication/
|
||||
^i2clib/
|
||||
^llvm/
|
||||
^opencv2/
|
||||
^spilib/
|
||||
^support/
|
||||
}
|
||||
|
||||
includeProject {
|
||||
^ctre/
|
||||
}
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <mutex>
|
||||
|
||||
#include <FRC_NetworkCommunication/AICalibration.h>
|
||||
|
||||
#include "AnalogInternal.h"
|
||||
#include "FRC_NetworkCommunication/AICalibration.h"
|
||||
#include "HAL/AnalogAccumulator.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
|
||||
@@ -11,8 +11,9 @@
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
|
||||
#include <FRC_NetworkCommunication/LoadOut.h>
|
||||
|
||||
#include "ConstantsInternal.h"
|
||||
#include "FRC_NetworkCommunication/LoadOut.h"
|
||||
#include "HAL/AnalogTrigger.h"
|
||||
#include "HAL/ChipObject.h"
|
||||
#include "HAL/HAL.h"
|
||||
|
||||
@@ -11,11 +11,12 @@
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
|
||||
#include "FRC_NetworkCommunication/FRCComm.h"
|
||||
#include <FRC_NetworkCommunication/FRCComm.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "HAL/DriverStation.h"
|
||||
#include "HAL/cpp/priority_condition_variable.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
static_assert(sizeof(int32_t) >= sizeof(int),
|
||||
"FRC_NetworkComm status variable is larger than 32 bits");
|
||||
|
||||
@@ -17,9 +17,11 @@
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
|
||||
#include "FRC_NetworkCommunication/CANSessionMux.h"
|
||||
#include "FRC_NetworkCommunication/FRCComm.h"
|
||||
#include "FRC_NetworkCommunication/LoadOut.h"
|
||||
#include <FRC_NetworkCommunication/CANSessionMux.h>
|
||||
#include <FRC_NetworkCommunication/FRCComm.h>
|
||||
#include <FRC_NetworkCommunication/LoadOut.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "HAL/ChipObject.h"
|
||||
#include "HAL/DriverStation.h"
|
||||
#include "HAL/Errors.h"
|
||||
@@ -28,7 +30,6 @@
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include "HAL/handles/HandlesInternal.h"
|
||||
#include "ctre/ctre.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include "visa/visa.h"
|
||||
|
||||
using namespace hal;
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
|
||||
#include "HAL/I2C.h"
|
||||
|
||||
#include <i2clib/i2c-lib.h>
|
||||
|
||||
#include "DigitalInternal.h"
|
||||
#include "HAL/DIO.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "i2clib/i2c-lib.h"
|
||||
|
||||
using namespace hal;
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <support/SafeThread.h>
|
||||
|
||||
#include "DigitalInternal.h"
|
||||
#include "HAL/ChipObject.h"
|
||||
#include "HAL/Errors.h"
|
||||
@@ -16,7 +18,6 @@
|
||||
#include "HAL/handles/HandlesInternal.h"
|
||||
#include "HAL/handles/LimitedHandleResource.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "support/SafeThread.h"
|
||||
|
||||
using namespace hal;
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <llvm/raw_ostream.h>
|
||||
#include <spilib/spi-lib.h>
|
||||
|
||||
#include "DigitalInternal.h"
|
||||
#include "HAL/DIO.h"
|
||||
#include "HAL/HAL.h"
|
||||
@@ -16,8 +19,6 @@
|
||||
#include "HAL/cpp/make_unique.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include "HAL/handles/HandlesInternal.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include "spilib/spi-lib.h"
|
||||
|
||||
using namespace hal;
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "HAL/Solenoid.h"
|
||||
|
||||
#include "FRC_NetworkCommunication/LoadOut.h"
|
||||
#include <FRC_NetworkCommunication/LoadOut.h>
|
||||
|
||||
#include "HAL/ChipObject.h"
|
||||
#include "HAL/Errors.h"
|
||||
#include "HAL/Ports.h"
|
||||
|
||||
@@ -11,9 +11,10 @@
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
#include <llvm/StringRef.h>
|
||||
|
||||
#include "../visa/visa.h"
|
||||
#include "HAL/Errors.h"
|
||||
#include "llvm/StringRef.h"
|
||||
|
||||
constexpr const char* OnboardResourceVISA = "ASRL1::INSTR";
|
||||
constexpr const char* MxpResourceVISA = "ASRL2::INSTR";
|
||||
|
||||
@@ -12,31 +12,31 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "FRC_FPGA_ChipObject/RoboRIO_FRC_ChipObject_Aliases.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/nInterfaceGlobals.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAI.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAO.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAccel.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAccumulator.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAlarm.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAnalogTrigger.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tBIST.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tCounter.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tDIO.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tDMA.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tEncoder.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tGlobal.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tInterrupt.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tPWM.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tPower.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tRelay.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tSPI.h"
|
||||
#include "FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tSysWatchdog.h"
|
||||
#include "FRC_FPGA_ChipObject/tDMAChannelDescriptor.h"
|
||||
#include "FRC_FPGA_ChipObject/tDMAManager.h"
|
||||
#include "FRC_FPGA_ChipObject/tInterruptManager.h"
|
||||
#include "FRC_FPGA_ChipObject/tSystem.h"
|
||||
#include "FRC_FPGA_ChipObject/tSystemInterface.h"
|
||||
#include <FRC_FPGA_ChipObject/RoboRIO_FRC_ChipObject_Aliases.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/nInterfaceGlobals.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAI.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAO.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAccel.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAccumulator.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAlarm.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tAnalogTrigger.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tBIST.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tCounter.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tDIO.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tDMA.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tEncoder.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tGlobal.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tInterrupt.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tPWM.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tPower.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tRelay.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tSPI.h>
|
||||
#include <FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/tSysWatchdog.h>
|
||||
#include <FRC_FPGA_ChipObject/tDMAChannelDescriptor.h>
|
||||
#include <FRC_FPGA_ChipObject/tDMAManager.h>
|
||||
#include <FRC_FPGA_ChipObject/tInterruptManager.h>
|
||||
#include <FRC_FPGA_ChipObject/tSystem.h>
|
||||
#include <FRC_FPGA_ChipObject/tSystemInterface.h>
|
||||
|
||||
namespace hal {
|
||||
using namespace nFPGA;
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "HAL/Types.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#define NativeThreadHandle const HANDLE*
|
||||
@@ -17,6 +15,8 @@
|
||||
#define NativeThreadHandle const pthread_t*
|
||||
#endif
|
||||
|
||||
#include "HAL/Types.h"
|
||||
|
||||
extern "C" {
|
||||
int32_t HAL_GetThreadPriority(NativeThreadHandle handle, HAL_Bool* isRealTime,
|
||||
int32_t* status);
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <chrono>
|
||||
#include <string>
|
||||
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
inline std::string NowTime();
|
||||
|
||||
|
||||
@@ -12,10 +12,11 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/SmallVector.h>
|
||||
|
||||
#include "HAL/SerialPort.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/SmallVector.h"
|
||||
|
||||
namespace hal {
|
||||
class SerialHelper {
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "HAL/cpp/fpga_clock.h"
|
||||
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
namespace hal {
|
||||
const fpga_clock::time_point fpga_clock::min_time =
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <llvm/SmallVector.h>
|
||||
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include "llvm/SmallVector.h"
|
||||
|
||||
namespace hal {
|
||||
static llvm::SmallVector<HandleBase*, 32> globalHandles;
|
||||
|
||||
@@ -176,16 +176,10 @@ void HAL_ObserveUserProgramTest(void) {
|
||||
static pthread_key_t lastCountKey;
|
||||
static pthread_once_t lastCountKeyOnce = PTHREAD_ONCE_INIT;
|
||||
|
||||
static void InitLastCountKey() {
|
||||
pthread_key_create(&lastCountKey, std::free);
|
||||
}
|
||||
static void InitLastCountKey() { pthread_key_create(&lastCountKey, std::free); }
|
||||
#endif
|
||||
|
||||
bool HAL_IsNewControlData(void) {
|
||||
// There is a rollover error condition here. At Packet# = n * (uintmax), this
|
||||
// will return false when instead it should return true. However, this at a
|
||||
// 20ms rate occurs once every 2.7 years of DS connected runtime, so not
|
||||
// worth the cycles to check.
|
||||
#ifdef __APPLE__
|
||||
pthread_once(&lastCountKeyOnce, InitLastCountKey);
|
||||
int* lastCountPtr = static_cast<int*>(pthread_getspecific(lastCountKey));
|
||||
@@ -198,6 +192,10 @@ bool HAL_IsNewControlData(void) {
|
||||
#else
|
||||
thread_local int lastCount{-1};
|
||||
#endif
|
||||
// There is a rollover error condition here. At Packet# = n * (uintmax), this
|
||||
// will return false when instead it should return true. However, this at a
|
||||
// 20ms rate occurs once every 2.7 years of DS connected runtime, so not
|
||||
// worth the cycles to check.
|
||||
int currentCount = 0;
|
||||
{
|
||||
std::unique_lock<hal::priority_mutex> lock(newDSDataAvailableMutex);
|
||||
|
||||
@@ -10,8 +10,9 @@
|
||||
#include <cstdio>
|
||||
#include <thread>
|
||||
|
||||
#include <support/timestamp.h>
|
||||
|
||||
#include "MockHooksInternal.h"
|
||||
#include "support/timestamp.h"
|
||||
|
||||
static std::atomic<bool> programStarted{false};
|
||||
|
||||
|
||||
@@ -10,12 +10,13 @@
|
||||
#include <chrono>
|
||||
#include <iostream>
|
||||
|
||||
#include <support/SafeThread.h>
|
||||
#include <support/timestamp.h>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/cpp/fpga_clock.h"
|
||||
#include "HAL/cpp/make_unique.h"
|
||||
#include "HAL/handles/UnlimitedHandleResource.h"
|
||||
#include "support/SafeThread.h"
|
||||
#include "support/timestamp.h"
|
||||
|
||||
namespace {
|
||||
class NotifierThread : public wpi::SafeThread {
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "WPILibVersion.h"
|
||||
|
||||
int main() {
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "ADXL345_I2C.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "I2C.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
|
||||
#include "ADXL345_SPI.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DigitalInput.h"
|
||||
#include "DigitalOutput.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
|
||||
#include "ADXL362.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DigitalInput.h"
|
||||
#include "DigitalOutput.h"
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "ADXRS450_Gyro.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "Timer.h"
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "AnalogAccelerometer.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
|
||||
@@ -6,13 +6,14 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "AnalogGyro.h"
|
||||
#include "HAL/AnalogGyro.h"
|
||||
|
||||
#include <climits>
|
||||
|
||||
#include <HAL/AnalogGyro.h>
|
||||
#include <HAL/Errors.h>
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "AnalogInput.h"
|
||||
#include "HAL/Errors.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "Timer.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
@@ -6,16 +6,17 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "AnalogInput.h"
|
||||
#include "HAL/AnalogInput.h"
|
||||
|
||||
#include "HAL/AnalogAccumulator.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/AnalogAccumulator.h>
|
||||
#include <HAL/AnalogInput.h>
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "Timer.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,12 +9,13 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "AnalogInput.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "AnalogTriggerOutput.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "AnalogTrigger.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "BuiltInAccelerometer.h"
|
||||
|
||||
#include "HAL/Accelerometer.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/Accelerometer.h>
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
|
||||
#include "CameraServer.h"
|
||||
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "Utility.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include "ntcore_cpp.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "Commands/PrintCommand.h"
|
||||
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -6,11 +6,12 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "Compressor.h"
|
||||
#include "HAL/Compressor.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include "HAL/Solenoid.h"
|
||||
#include <HAL/Compressor.h>
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <HAL/Solenoid.h>
|
||||
|
||||
#include "WPIErrors.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -9,9 +9,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Power.h>
|
||||
|
||||
#include "ErrorBase.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Power.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
|
||||
#include "Counter.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "AnalogTrigger.h"
|
||||
#include "DigitalInput.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -10,11 +10,12 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
|
||||
#include <HAL/Constants.h>
|
||||
#include <HAL/DIO.h>
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "Counter.h"
|
||||
#include "Encoder.h"
|
||||
#include "HAL/Constants.h"
|
||||
#include "HAL/DIO.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "Utility.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
|
||||
@@ -9,13 +9,14 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "HAL/DIO.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/DIO.h>
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,12 +9,13 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "HAL/DIO.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/DIO.h>
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,13 +7,14 @@
|
||||
|
||||
#include "DoubleSolenoid.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include "HAL/Solenoid.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <HAL/Solenoid.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,15 +9,16 @@
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Power.h>
|
||||
#include <HAL/cpp/Log.h>
|
||||
#include <llvm/SmallString.h>
|
||||
|
||||
#include "AnalogInput.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Power.h"
|
||||
#include "HAL/cpp/Log.h"
|
||||
#include "MotorSafetyHelper.h"
|
||||
#include "Timer.h"
|
||||
#include "Utility.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "Encoder.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DigitalInput.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
|
||||
#include "Error.h"
|
||||
|
||||
#include <llvm/Path.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "Timer.h"
|
||||
#include "Utility.h"
|
||||
#include "llvm/Path.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "GenericHID.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/I2C.h"
|
||||
#include "I2C.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/I2C.h>
|
||||
|
||||
#include "WPIErrors.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "Internal/HardwareHLReporting.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "InterruptableSensorBase.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "Utility.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "IterativeRobot.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,9 +9,10 @@
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "Jaguar.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "networktables/NetworkTable.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
|
||||
#include "MotorSafetyHelper.h"
|
||||
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "MotorSafety.h"
|
||||
#include "Timer.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "Notifier.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "Timer.h"
|
||||
#include "Utility.h"
|
||||
#include "WPIErrors.h"
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "Notifier.h"
|
||||
#include "PIDOutput.h"
|
||||
#include "PIDSource.h"
|
||||
|
||||
@@ -5,15 +5,16 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/PWM.h"
|
||||
#include "PWM.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/PWM.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "Utility.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,13 +7,14 @@
|
||||
|
||||
#include "PowerDistributionPanel.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/PDP.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/PDP.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,9 +9,10 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <llvm/StringRef.h>
|
||||
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/StringRef.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -5,15 +5,16 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/Relay.h"
|
||||
#include "Relay.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <HAL/Relay.h>
|
||||
#include <llvm/SmallString.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "MotorSafetyHelper.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HLUsageReporting.h"
|
||||
#include "Internal/HardwareHLReporting.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
@@ -10,8 +10,9 @@
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "GenericHID.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "Joystick.h"
|
||||
#include "Talon.h"
|
||||
#include "Utility.h"
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "SD540.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -5,14 +5,15 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/SPI.h"
|
||||
#include "SPI.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/SPI.h>
|
||||
#include <llvm/SmallVector.h>
|
||||
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallVector.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
|
||||
#include "SampleRobot.h"
|
||||
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "Timer.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include "networktables/NetworkTable.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,15 +7,16 @@
|
||||
|
||||
#include "SensorBase.h"
|
||||
|
||||
#include "HAL/AnalogInput.h"
|
||||
#include "HAL/AnalogOutput.h"
|
||||
#include "HAL/DIO.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/PDP.h"
|
||||
#include "HAL/PWM.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include "HAL/Relay.h"
|
||||
#include "HAL/Solenoid.h"
|
||||
#include <HAL/AnalogInput.h>
|
||||
#include <HAL/AnalogOutput.h>
|
||||
#include <HAL/DIO.h>
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/PDP.h>
|
||||
#include <HAL/PWM.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <HAL/Relay.h>
|
||||
#include <HAL/Solenoid.h>
|
||||
|
||||
#include "WPIErrors.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/SerialPort.h"
|
||||
#include "SerialPort.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/SerialPort.h>
|
||||
|
||||
// static ViStatus _VI_FUNCH ioCompleteHandler (ViSession vi, ViEventType
|
||||
// eventType, ViEvent event, ViAddr userHandle);
|
||||
|
||||
@@ -5,15 +5,16 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/Solenoid.h"
|
||||
#include "Solenoid.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Ports.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Ports.h>
|
||||
#include <HAL/Solenoid.h>
|
||||
#include <llvm/SmallString.h>
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/SmallString.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
#include "SolenoidBase.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "HAL/Solenoid.h"
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Solenoid.h>
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "Spark.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "Talon.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "TalonSRX.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "HAL/Threads.h"
|
||||
#include "Threads.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
#include <HAL/Threads.h>
|
||||
|
||||
#include "ErrorBase.h"
|
||||
#include "HAL/HAL.h"
|
||||
|
||||
namespace frc {
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -10,8 +10,9 @@
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "Utility.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
|
||||
#include "Ultrasonic.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "Counter.h"
|
||||
#include "DigitalInput.h"
|
||||
#include "DigitalOutput.h"
|
||||
#include "HAL/HAL.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "Timer.h"
|
||||
#include "Utility.h"
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "Victor.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "VictorSP.h"
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "XboxController.h"
|
||||
|
||||
#include <HAL/HAL.h>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "HAL/HAL.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
|
||||
#include "vision/VisionRunner.h"
|
||||
|
||||
#include <opencv2/core/mat.hpp>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "RobotBase.h"
|
||||
#include "opencv2/core/mat.hpp"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "GyroBase.h"
|
||||
#include "HAL/Types.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "HAL/Types.h"
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "PIDSource.h"
|
||||
#include "SensorBase.h"
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "HAL/AnalogOutput.h"
|
||||
#include <HAL/AnalogOutput.h>
|
||||
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "SensorBase.h"
|
||||
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "AnalogTriggerOutput.h"
|
||||
#include "HAL/Types.h"
|
||||
#include "SensorBase.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <HAL/AnalogTrigger.h>
|
||||
|
||||
#include "DigitalSource.h"
|
||||
#include "HAL/AnalogTrigger.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "HAL/cpp/make_unique.h"
|
||||
#include <HAL/cpp/make_unique.h>
|
||||
|
||||
// MSVC 2013 doesn't allow "= default" on move constructors, but since we are
|
||||
// (currently) only actually using the move constructors in non-MSVC situations
|
||||
|
||||
@@ -15,11 +15,12 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <llvm/DenseMap.h>
|
||||
#include <llvm/StringMap.h>
|
||||
#include <llvm/StringRef.h>
|
||||
|
||||
#include "ErrorBase.h"
|
||||
#include "cscore.h"
|
||||
#include "llvm/DenseMap.h"
|
||||
#include "llvm/StringMap.h"
|
||||
#include "llvm/StringRef.h"
|
||||
#include "networktables/NetworkTable.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -14,9 +14,10 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <HAL/cpp/priority_mutex.h>
|
||||
|
||||
#include "Commands/Command.h"
|
||||
#include "ErrorBase.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include "SmartDashboard/NamedSendable.h"
|
||||
#include "SmartDashboard/SmartDashboard.h"
|
||||
#include "networktables/NetworkTable.h"
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "HAL/Types.h"
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "SensorBase.h"
|
||||
#include "tables/ITableListener.h"
|
||||
|
||||
@@ -10,10 +10,11 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <HAL/Counter.h>
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "AnalogTrigger.h"
|
||||
#include "CounterBase.h"
|
||||
#include "HAL/Counter.h"
|
||||
#include "HAL/Types.h"
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "SensorBase.h"
|
||||
|
||||
|
||||
@@ -11,8 +11,9 @@
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <HAL/cpp/priority_mutex.h>
|
||||
|
||||
#include "DigitalSource.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -10,8 +10,9 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "DigitalSource.h"
|
||||
#include "HAL/Types.h"
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "tables/ITableListener.h"
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "HAL/Types.h"
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "InterruptableSensorBase.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "HAL/Types.h"
|
||||
#include <HAL/Types.h>
|
||||
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "SolenoidBase.h"
|
||||
#include "tables/ITableListener.h"
|
||||
|
||||
@@ -12,11 +12,12 @@
|
||||
#include <string>
|
||||
#include <thread>
|
||||
|
||||
#include "HAL/DriverStation.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include <HAL/DriverStation.h>
|
||||
#include <HAL/cpp/priority_mutex.h>
|
||||
#include <llvm/StringRef.h>
|
||||
|
||||
#include "RobotState.h"
|
||||
#include "SensorBase.h"
|
||||
#include "llvm/StringRef.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
@@ -10,9 +10,10 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <HAL/Encoder.h>
|
||||
|
||||
#include "Counter.h"
|
||||
#include "CounterBase.h"
|
||||
#include "HAL/Encoder.h"
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "PIDSource.h"
|
||||
#include "SensorBase.h"
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Base.h"
|
||||
#include "llvm/StringRef.h"
|
||||
#include <llvm/StringRef.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
@@ -20,6 +19,8 @@
|
||||
#undef GetMessage
|
||||
#endif
|
||||
|
||||
#include "Base.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
// Forward declarations
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <HAL/cpp/priority_mutex.h>
|
||||
#include <llvm/StringRef.h>
|
||||
|
||||
#include "Base.h"
|
||||
#include "Error.h"
|
||||
#include "HAL/cpp/priority_mutex.h"
|
||||
#include "llvm/StringRef.h"
|
||||
|
||||
#define wpi_setErrnoErrorWithContext(context) \
|
||||
this->SetErrnoError((context), __FILE__, __FUNCTION__, __LINE__)
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <HAL/Interrupts.h>
|
||||
|
||||
#include "AnalogTriggerType.h"
|
||||
#include "HAL/Interrupts.h"
|
||||
#include "SensorBase.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#define DEFAULT_SAFETY_EXPIRATION 0.1
|
||||
|
||||
#include "llvm/raw_ostream.h"
|
||||
#include <llvm/raw_ostream.h>
|
||||
|
||||
namespace frc {
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user