Fixed cpplint.py warnings (#215)

* Fixed cpplint.py [build/include_order] and [build/include_what_you_use] warnings
* Fixed cpplint.py [readability/casting] warnings
* Updated .styleguide format
* Fixed cpplint.py [build/header_guard] warnings
This commit is contained in:
Tyler Veness
2016-09-05 13:55:31 -07:00
committed by Peter Johnson
parent 59ec54887d
commit 05626cfafe
132 changed files with 280 additions and 172 deletions

View File

@@ -8,6 +8,8 @@
#pragma once
#include <memory>
#include <string>
#include "SmartDashboard/Sendable.h"
class Command;

View File

@@ -5,6 +5,8 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include <algorithm>
template <class T>

View File

@@ -8,7 +8,9 @@
#pragma once
#include <list>
#include <string>
#include <vector>
#include "Commands/Command.h"
#include "Commands/CommandGroupEntry.h"

View File

@@ -7,13 +7,14 @@
#pragma once
#include <memory>
#include <string>
#include "Commands/Command.h"
#include "PIDController.h"
#include "PIDOutput.h"
#include "PIDSource.h"
#include <memory>
class PIDCommand : public Command, public PIDOutput, public PIDSource {
public:
PIDCommand(const std::string& name, double p, double i, double d);

View File

@@ -7,13 +7,14 @@
#pragma once
#include <memory>
#include <string>
#include "Commands/Subsystem.h"
#include "PIDController.h"
#include "PIDOutput.h"
#include "PIDSource.h"
#include <memory>
/**
* This class is designed to handle the case where there is a {@link Subsystem}
* which uses a single {@link PIDController} almost constantly (for instance,

View File

@@ -7,6 +7,8 @@
#pragma once
#include <string>
#include "Commands/Command.h"
class WaitCommand : public Command {

View File

@@ -7,6 +7,8 @@
#pragma once
#include <string>
#include "Commands/Command.h"
class WaitForChildren : public Command {

View File

@@ -7,6 +7,8 @@
#pragma once
#include <string>
#include "Commands/Command.h"
class WaitUntilCommand : public Command {

View File

@@ -7,13 +7,14 @@
#pragma once
#include <memory>
#include <string>
#include "LiveWindow/LiveWindowSendable.h"
#include "PIDSource.h"
#include "SensorBase.h"
#include "interfaces/Gyro.h"
#include <memory>
/**
* GyroBase is the common base class for Gyro implementations such as
* AnalogGyro.

View File

@@ -9,7 +9,9 @@
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "Commands/Scheduler.h"
#include "LiveWindow/LiveWindowSendable.h"
#include "tables/ITable.h"

View File

@@ -7,6 +7,8 @@
#pragma once
#include <memory>
#include "tables/ITable.h"
#include "tables/ITableListener.h"

View File

@@ -7,6 +7,11 @@
#pragma once
#include <atomic>
#include <memory>
#include <queue>
#include <string>
#include "Base.h"
#include "Controller.h"
#include "HAL/cpp/priority_mutex.h"
@@ -16,11 +21,6 @@
#include "PIDSource.h"
#include "Timer.h"
#include <memory>
#include <atomic>
#include <queue>
class PIDOutput;
/**

View File

@@ -8,10 +8,12 @@
#pragma once
#include <stdint.h>
#include <memory>
#include <vector>
#include "ErrorBase.h"
#include <memory>
#include <string>
#include <vector>
#include "ErrorBase.h"
#include "HAL/cpp/priority_mutex.h"
/**

View File

@@ -8,7 +8,9 @@
#pragma once
#include <map>
#include <memory>
#include <string>
#include "SensorBase.h"
#include "SmartDashboard/NamedSendable.h"
#include "SmartDashboard/Sendable.h"

View File

@@ -5,7 +5,12 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include <atomic>
#include <string>
#include <utility>
#include "HAL/HAL.h"
/**