Fixed include order (#245)

See wpilibsuite/styleguide (#11).
This commit is contained in:
Tyler Veness
2016-09-25 16:50:13 -07:00
committed by Peter Johnson
parent 107a4cc1e2
commit 5dfae8d6bd
109 changed files with 175 additions and 87 deletions

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "Buttons/NetworkButton.h"
#include "networktables/NetworkTable.h"
NetworkButton::NetworkButton(const std::string& tableName,

View File

@@ -6,7 +6,6 @@
/*----------------------------------------------------------------------------*/
#include "Buttons/Button.h"
#include "Buttons/CancelButtonScheduler.h"
#include "Buttons/HeldButtonScheduler.h"
#include "Buttons/PressedButtonScheduler.h"

View File

@@ -6,7 +6,9 @@
/*----------------------------------------------------------------------------*/
#include "Commands/Command.h"
#include <typeinfo>
#include "Commands/CommandGroup.h"
#include "Commands/Scheduler.h"
#include "RobotState.h"

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "Commands/CommandGroup.h"
#include "WPIErrors.h"
/**

View File

@@ -7,7 +7,7 @@
#include "Commands/PIDCommand.h"
#include "float.h"
#include <cfloat>
PIDCommand::PIDCommand(const std::string& name, double p, double i, double d,
double f, double period)

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "Commands/PIDSubsystem.h"
#include "PIDController.h"
/**

View File

@@ -10,6 +10,7 @@
#include <algorithm>
#include <iostream>
#include <set>
#include "Buttons/ButtonScheduler.h"
#include "Commands/Subsystem.h"
#include "HLUsageReporting.h"

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "Commands/WaitCommand.h"
#include <sstream>
WaitCommand::WaitCommand(double timeout)

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "Commands/WaitForChildren.h"
#include "Commands/CommandGroup.h"
WaitForChildren::WaitForChildren(double timeout)

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "Commands/WaitUntilCommand.h"
#include "Timer.h"
/**

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "GyroBase.h"
#include "LiveWindow/LiveWindow.h"
#include "WPIErrors.h"

View File

@@ -6,8 +6,10 @@
/*----------------------------------------------------------------------------*/
#include "LiveWindow/LiveWindow.h"
#include <algorithm>
#include <sstream>
#include "networktables/NetworkTable.h"
/**

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "LiveWindow/LiveWindowStatusListener.h"
#include "Commands/Scheduler.h"
void LiveWindowStatusListener::ValueChanged(ITable* source, llvm::StringRef key,

View File

@@ -6,6 +6,7 @@
/*----------------------------------------------------------------------------*/
#include "Resource.h"
#include "ErrorBase.h"
#include "WPIErrors.h"

View File

@@ -5,8 +5,9 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "interfaces/Potentiometer.h"
#include <Utility.h>
#include <interfaces/Potentiometer.h>
void Potentiometer::SetPIDSourceType(PIDSourceType pidSource) {
if (wpi_assert(pidSource == PIDSourceType::kDisplacement)) {