mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[cscore, wpilibcExamples] Use double-quote includes for wpi/ (#8346)
Use ERR and WARN in cscore to avoid conflict with Windows headers.
This commit is contained in:
@@ -4,12 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/commands2/SequentialCommandGroup.hpp>
|
||||
|
||||
#include "commands/DriveDistance.hpp"
|
||||
#include "commands/TurnDegrees.hpp"
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/SequentialCommandGroup.hpp"
|
||||
|
||||
class AutonomousDistance
|
||||
: public wpi::cmd::CommandHelper<wpi::cmd::SequentialCommandGroup,
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/commands2/SequentialCommandGroup.hpp>
|
||||
|
||||
#include "commands/DriveTime.hpp"
|
||||
#include "commands/TurnTime.hpp"
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/commands2/SequentialCommandGroup.hpp"
|
||||
|
||||
class AutonomousTime
|
||||
: public wpi::cmd::CommandHelper<wpi::cmd::SequentialCommandGroup,
|
||||
|
||||
@@ -4,11 +4,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/units/length.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
|
||||
class DriveDistance
|
||||
: public wpi::cmd::CommandHelper<wpi::cmd::Command, DriveDistance> {
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/system/Timer.hpp>
|
||||
#include <wpi/units/time.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/system/Timer.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
class DriveTime : public wpi::cmd::CommandHelper<wpi::cmd::Command, DriveTime> {
|
||||
public:
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
|
||||
class TeleopArcadeDrive
|
||||
: public wpi::cmd::CommandHelper<wpi::cmd::Command, TeleopArcadeDrive> {
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/units/angle.hpp>
|
||||
#include <wpi/units/length.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
|
||||
class TurnDegrees
|
||||
: public wpi::cmd::CommandHelper<wpi::cmd::Command, TurnDegrees> {
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/commands2/Command.hpp>
|
||||
#include <wpi/commands2/CommandHelper.hpp>
|
||||
#include <wpi/system/Timer.hpp>
|
||||
#include <wpi/units/time.hpp>
|
||||
|
||||
#include "subsystems/Drivetrain.hpp"
|
||||
#include "wpi/commands2/Command.hpp"
|
||||
#include "wpi/commands2/CommandHelper.hpp"
|
||||
#include "wpi/system/Timer.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
class TurnTime : public wpi::cmd::CommandHelper<wpi::cmd::Command, TurnTime> {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user