Replaced ::std with std for readability/consistency.

Change-Id: I65f9673c237d3513f99827e28963eb22ae9df0c2
This commit is contained in:
James Kuszmaul
2015-07-29 16:48:04 -04:00
parent f74ca87e26
commit 4b575e3e7e
127 changed files with 404 additions and 404 deletions

View File

@@ -84,7 +84,7 @@ void PIDController::Initialize(float Kp, float Ki, float Kd, float Kf,
m_pidOutput = output;
m_period = period;
m_controlLoop = ::std::make_unique<Notifier>(PIDController::CallCalculate, this);
m_controlLoop = std::make_unique<Notifier>(PIDController::CallCalculate, this);
m_controlLoop->StartPeriodic(m_period);
static int32_t instances = 0;
@@ -491,7 +491,7 @@ std::string PIDController::GetSmartDashboardType() const {
return "PIDController";
}
void PIDController::InitTable(::std::shared_ptr<ITable> table){
void PIDController::InitTable(std::shared_ptr<ITable> table){
if(m_table!=nullptr)
m_table->RemoveTableListener(this);
m_table = table;
@@ -506,11 +506,11 @@ void PIDController::InitTable(::std::shared_ptr<ITable> table){
}
}
::std::shared_ptr<ITable> PIDController::GetTable() const {
std::shared_ptr<ITable> PIDController::GetTable() const {
return m_table;
}
void PIDController::ValueChanged(::std::shared_ptr<ITable> source, const std::string& key, EntryValue value, bool isNew){
void PIDController::ValueChanged(std::shared_ptr<ITable> source, const std::string& key, EntryValue value, bool isNew){
if (key==kP || key==kI || key==kD || key==kF) {
if (m_P != m_table->GetNumber(kP) || m_I != m_table->GetNumber(kI) || m_D != m_table->GetNumber(kD) || m_F != m_table->GetNumber(kF) ) {
SetPID(m_table->GetNumber(kP, 0.0), m_table->GetNumber(kI, 0.0), m_table->GetNumber(kD, 0.0), m_table->GetNumber(kF, 0.0));