[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:
Peter Johnson
2025-11-08 16:58:51 -08:00
committed by GitHub
parent fc4e922206
commit 5c9c45fadb
226 changed files with 868 additions and 951 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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> {

View File

@@ -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:

View File

@@ -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> {

View File

@@ -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> {

View File

@@ -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: