Move CameraServer and WPILib headers into their own folder

The old headers were moved into folders because doing so avoids polluting
the system include directories.

Folder names were also normalized to lowercase.
This commit is contained in:
Tyler Veness
2018-07-20 00:03:45 -07:00
committed by Peter Johnson
parent 31ced30c1e
commit d89b7dd412
728 changed files with 1876 additions and 1851 deletions

View File

@@ -7,7 +7,7 @@
#pragma once
#include "HAL/Types.h"
#include "hal/Types.h"
// clang-format off
/**

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
// clang-format off
/**

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
// These are copies of defines located in CANSessionMux.h prepended with HAL_

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
// clang-format off
/**

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#include <stdint.h>
#include "HAL/AnalogTrigger.h"
#include "HAL/Types.h"
#include "hal/AnalogTrigger.h"
#include "hal/Types.h"
// clang-format off
/**

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#define HAL_IO_CONFIG_DATA_SIZE 32
#define HAL_SYS_STATUS_DATA_SIZE 44

View File

@@ -9,8 +9,8 @@
#include <stdint.h>
#include "HAL/AnalogTrigger.h"
#include "HAL/Types.h"
#include "hal/AnalogTrigger.h"
#include "hal/Types.h"
// clang-format off
/**

View File

@@ -11,34 +11,34 @@
#ifndef HAL_USE_LABVIEW
#include "HAL/Accelerometer.h"
#include "HAL/AnalogAccumulator.h"
#include "HAL/AnalogGyro.h"
#include "HAL/AnalogInput.h"
#include "HAL/AnalogOutput.h"
#include "HAL/AnalogTrigger.h"
#include "HAL/CAN.h"
#include "HAL/Compressor.h"
#include "HAL/Constants.h"
#include "HAL/Counter.h"
#include "HAL/DIO.h"
#include "HAL/DriverStation.h"
#include "HAL/Errors.h"
#include "HAL/I2C.h"
#include "HAL/Interrupts.h"
#include "HAL/Notifier.h"
#include "HAL/PDP.h"
#include "HAL/PWM.h"
#include "HAL/Ports.h"
#include "HAL/Power.h"
#include "HAL/Relay.h"
#include "HAL/SPI.h"
#include "HAL/SerialPort.h"
#include "HAL/Solenoid.h"
#include "hal/Accelerometer.h"
#include "hal/AnalogAccumulator.h"
#include "hal/AnalogGyro.h"
#include "hal/AnalogInput.h"
#include "hal/AnalogOutput.h"
#include "hal/AnalogTrigger.h"
#include "hal/CAN.h"
#include "hal/Compressor.h"
#include "hal/Constants.h"
#include "hal/Counter.h"
#include "hal/DIO.h"
#include "hal/DriverStation.h"
#include "hal/Errors.h"
#include "hal/I2C.h"
#include "hal/Interrupts.h"
#include "hal/Notifier.h"
#include "hal/PDP.h"
#include "hal/PWM.h"
#include "hal/Ports.h"
#include "hal/Power.h"
#include "hal/Relay.h"
#include "hal/SPI.h"
#include "hal/SerialPort.h"
#include "hal/Solenoid.h"
#endif // HAL_USE_LABVIEW
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
#include "UsageReporting.h"

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
// clang-format off
HAL_ENUM(HAL_I2CPort) { HAL_I2C_kOnboard = 0, HAL_I2C_kMXP };

View File

@@ -9,8 +9,8 @@
#include <stdint.h>
#include "HAL/AnalogTrigger.h"
#include "HAL/Types.h"
#include "hal/AnalogTrigger.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#include <stdint.h>
#include "HAL/AnalogTrigger.h"
#include "HAL/Types.h"
#include "hal/AnalogTrigger.h"
#include "hal/Types.h"
// clang-format off
HAL_ENUM(HAL_SPIPort) {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
// clang-format off
HAL_ENUM(HAL_SerialPort) {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -15,7 +15,7 @@
#define NativeThreadHandle const pthread_t*
#endif
#include "HAL/Types.h"
#include "hal/Types.h"
extern "C" {
/**

View File

@@ -16,7 +16,7 @@
#include <wpi/SmallVector.h>
#include <wpi/mutex.h>
#include "HAL/SerialPort.h"
#include "hal/SerialPort.h"
namespace hal {
/**

View File

@@ -9,8 +9,8 @@
#include <wpi/mutex.h>
#include "HAL/ChipObject.h"
#include "HAL/Types.h"
#include "hal/ChipObject.h"
#include "hal/Types.h"
namespace hal {

View File

@@ -14,9 +14,9 @@
#include <wpi/mutex.h>
#include "HAL/Errors.h"
#include "HAL/Types.h"
#include "HAL/handles/HandlesInternal.h"
#include "hal/Errors.h"
#include "hal/Types.h"
#include "hal/handles/HandlesInternal.h"
namespace hal {

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "HAL/Types.h"
#include "hal/Types.h"
/* General Handle Data Layout
* Bits 0-15: Handle Index

View File

@@ -15,9 +15,9 @@
#include <wpi/mutex.h>
#include "HAL/Errors.h"
#include "HAL/Types.h"
#include "HAL/handles/HandlesInternal.h"
#include "hal/Errors.h"
#include "hal/Types.h"
#include "hal/handles/HandlesInternal.h"
namespace hal {

View File

@@ -14,9 +14,9 @@
#include <wpi/mutex.h>
#include "HAL/Errors.h"
#include "HAL/Types.h"
#include "HAL/handles/HandlesInternal.h"
#include "hal/Errors.h"
#include "hal/Types.h"
#include "hal/handles/HandlesInternal.h"
namespace hal {

View File

@@ -14,8 +14,8 @@
#include <wpi/mutex.h>
#include "HAL/Types.h"
#include "HAL/handles/HandlesInternal.h"
#include "hal/Types.h"
#include "hal/handles/HandlesInternal.h"
namespace hal {

View File

@@ -14,8 +14,8 @@
#include <wpi/mutex.h>
#include "HAL/Types.h"
#include "HandlesInternal.h"
#include "hal/Types.h"
namespace hal {

View File

@@ -15,8 +15,8 @@
#include <wpi/mutex.h>
#include "HAL/Types.h"
#include "HAL/handles/HandlesInternal.h"
#include "hal/Types.h"
#include "hal/handles/HandlesInternal.h"
namespace hal {

View File

@@ -9,6 +9,6 @@
#define HAL_USE_LABVIEW
#include "HAL/DriverStation.h"
#include "HAL/HAL.h"
#include "HAL/Types.h"
#include "hal/DriverStation.h"
#include "hal/HAL.h"
#include "hal/Types.h"

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
enum HALSIM_AnalogTriggerMode : int32_t {
HALSIM_AnalogTriggerUnassigned,

View File

@@ -9,9 +9,9 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "HAL_Value.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
typedef void (*HAL_CAN_SendMessageCallback)(const char* name, void* param,
uint32_t messageID,

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,9 +9,9 @@
#ifndef __FRC_ROBORIO__
#include "HAL/DriverStation.h"
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/DriverStation.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,7 +9,7 @@
#ifndef __FRC_ROBORIO__
#include "HAL/Types.h"
#include "hal/Types.h"
/** HAL data types. */
enum HAL_Type {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -11,7 +11,7 @@
#include <memory>
#include "MockData/NotifyListenerVector.h"
#include "mockdata/NotifyListenerVector.h"
template <typename VectorType, typename CallbackType>
std::shared_ptr<VectorType> RegisterCallbackImpl(

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -9,8 +9,8 @@
#ifndef __FRC_ROBORIO__
#include "HAL/HAL.h"
#include "NotifyListener.h"
#include "hal/HAL.h"
typedef void (*HAL_SpiReadAutoReceiveBufferCallback)(const char* name,
void* param,

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/AccelerometerData.h"
#include "mockdata/AccelerometerData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/AnalogGyroData.h"
#include "mockdata/AnalogGyroData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/AnalogInData.h"
#include "mockdata/AnalogInData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/AnalogOutData.h"
#include "mockdata/AnalogOutData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/AnalogTriggerData.h"
#include "mockdata/AnalogTriggerData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <wpi/StringRef.h>
#include "MockData/HAL_Value.h"
#include "mockdata/HAL_Value.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/DIOData.h"
#include "mockdata/DIOData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/DigitalPWMData.h"
#include "mockdata/DigitalPWMData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/DriverStationData.h"
#include "mockdata/DriverStationData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/EncoderData.h"
#include "mockdata/EncoderData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/PCMData.h"
#include "mockdata/PCMData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/PDPData.h"
#include "mockdata/PDPData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/PWMData.h"
#include "mockdata/PWMData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/RelayData.h"
#include "mockdata/RelayData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/RoboRioData.h"
#include "mockdata/RoboRioData.h"
namespace frc {
namespace sim {

View File

@@ -13,7 +13,7 @@
#include <utility>
#include "CallbackStore.h"
#include "MockData/SPIAccelerometerData.h"
#include "mockdata/SPIAccelerometerData.h"
namespace frc {
namespace sim {

View File

@@ -9,7 +9,7 @@
#ifndef __FRC_ROBORIO__
#include "MockData/MockHooks.h"
#include "mockdata/MockHooks.h"
namespace frc {
namespace sim {