mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-06 03:31:43 +00:00
Merge "Fix std::unique_ptrs using incomplete types"
This commit is contained in:
@@ -9,13 +9,12 @@
|
||||
#define __PID_COMMAND_H__
|
||||
|
||||
#include "Commands/Command.h"
|
||||
#include "PIDController.h"
|
||||
#include "PIDSource.h"
|
||||
#include "PIDOutput.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
class PIDController;
|
||||
|
||||
class PIDCommand : public Command, public PIDOutput, public PIDSource {
|
||||
public:
|
||||
PIDCommand(const std::string &name, double p, double i, double d);
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include "Commands/PIDCommand.h"
|
||||
|
||||
#include "PIDController.h"
|
||||
#include "float.h"
|
||||
|
||||
PIDCommand::PIDCommand(const std::string &name, double p, double i, double d, double f,
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
#include "PIDOutput.h"
|
||||
#include "PIDSource.h"
|
||||
#include "PIDInterface.h"
|
||||
#include "ctre/CanTalonSRX.h"
|
||||
#include "MotorSafetyHelper.h"
|
||||
#include "LiveWindow/LiveWindowSendable.h"
|
||||
#include "tables/ITable.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
class CanTalonSRX;
|
||||
|
||||
/**
|
||||
* CTRE Talon SRX Speed Controller with CAN Control
|
||||
*/
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include "CANTalon.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "ctre/CanTalonSRX.h"
|
||||
#include <unistd.h> // usleep
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "WPILib.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "TestBench.h"
|
||||
#include "ctre/CanTalonSRX.h"
|
||||
|
||||
const int deviceId = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user