mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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:
committed by
Peter Johnson
parent
31ced30c1e
commit
d89b7dd412
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "OI.h"
|
||||
|
||||
#include <WPILib.h>
|
||||
#include <frc/WPILib.h>
|
||||
|
||||
OI::OI() {
|
||||
// Process operator interface input here.
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
#include "Robot.h"
|
||||
|
||||
#include <Commands/Scheduler.h>
|
||||
#include <SmartDashboard/SmartDashboard.h>
|
||||
#include <frc/commands/Scheduler.h>
|
||||
#include <frc/smartdashboard/SmartDashboard.h>
|
||||
|
||||
ExampleSubsystem Robot::m_subsystem;
|
||||
OI Robot::m_oi;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "Commands/ExampleCommand.h"
|
||||
#include "commands/ExampleCommand.h"
|
||||
|
||||
#include "Robot.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "Commands/MyAutoCommand.h"
|
||||
#include "commands/MyAutoCommand.h"
|
||||
|
||||
#include "Robot.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "Subsystems/ExampleSubsystem.h"
|
||||
#include "subsystems/ExampleSubsystem.h"
|
||||
|
||||
#include "RobotMap.h"
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Commands/Command.h>
|
||||
#include <SmartDashboard/SendableChooser.h>
|
||||
#include <TimedRobot.h>
|
||||
#include <frc/TimedRobot.h>
|
||||
#include <frc/commands/Command.h>
|
||||
#include <frc/smartdashboard/SendableChooser.h>
|
||||
|
||||
#include "Commands/ExampleCommand.h"
|
||||
#include "Commands/MyAutoCommand.h"
|
||||
#include "OI.h"
|
||||
#include "Subsystems/ExampleSubsystem.h"
|
||||
#include "commands/ExampleCommand.h"
|
||||
#include "commands/MyAutoCommand.h"
|
||||
#include "subsystems/ExampleSubsystem.h"
|
||||
|
||||
class Robot : public frc::TimedRobot {
|
||||
public:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Commands/Command.h>
|
||||
#include <frc/commands/Command.h>
|
||||
|
||||
class ExampleCommand : public frc::Command {
|
||||
public:
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Commands/Command.h>
|
||||
#include <frc/commands/Command.h>
|
||||
|
||||
class MyAutoCommand : public frc::Command {
|
||||
public:
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Commands/Subsystem.h>
|
||||
#include <frc/commands/Subsystem.h>
|
||||
|
||||
class ExampleSubsystem : public frc::Subsystem {
|
||||
public:
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SmartDashboard/SmartDashboard.h>
|
||||
#include <frc/smartdashboard/SmartDashboard.h>
|
||||
|
||||
void Robot::RobotInit() {
|
||||
m_chooser.AddDefault(kAutoNameDefault, kAutoNameDefault);
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <IterativeRobot.h>
|
||||
#include <SmartDashboard/SendableChooser.h>
|
||||
#include <frc/IterativeRobot.h>
|
||||
#include <frc/smartdashboard/SendableChooser.h>
|
||||
|
||||
class Robot : public frc::IterativeRobot {
|
||||
public:
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SmartDashboard/SmartDashboard.h>
|
||||
#include <Timer.h>
|
||||
#include <frc/Timer.h>
|
||||
#include <frc/smartdashboard/SmartDashboard.h>
|
||||
|
||||
Robot::Robot() {
|
||||
// Note SmartDashboard is not initialized here, wait until RobotInit() to make
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <Drive/DifferentialDrive.h>
|
||||
#include <Joystick.h>
|
||||
#include <SampleRobot.h>
|
||||
#include <SmartDashboard/SendableChooser.h>
|
||||
#include <Spark.h>
|
||||
#include <frc/Joystick.h>
|
||||
#include <frc/SampleRobot.h>
|
||||
#include <frc/Spark.h>
|
||||
#include <frc/drive/DifferentialDrive.h>
|
||||
#include <frc/smartdashboard/SendableChooser.h>
|
||||
|
||||
/**
|
||||
* This is a demo program showing the use of the DifferentialDrive class. The
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SmartDashboard/SmartDashboard.h>
|
||||
#include <frc/smartdashboard/SmartDashboard.h>
|
||||
|
||||
void Robot::RobotInit() {
|
||||
m_chooser.AddDefault(kAutoNameDefault, kAutoNameDefault);
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <SmartDashboard/SendableChooser.h>
|
||||
#include <TimedRobot.h>
|
||||
#include <frc/TimedRobot.h>
|
||||
#include <frc/smartdashboard/SendableChooser.h>
|
||||
|
||||
class Robot : public frc::TimedRobot {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user