From ff58c5156aa9ecafc8d9ccc39e5a3cd0210aab82 Mon Sep 17 00:00:00 2001 From: Nicolas Machado Date: Fri, 7 Dec 2018 22:40:31 -0500 Subject: [PATCH] Change SmartDashboard type of PIDBase.cpp to match PIDBase.java (#1470) --- wpilibc/src/main/native/cpp/PIDBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibc/src/main/native/cpp/PIDBase.cpp b/wpilibc/src/main/native/cpp/PIDBase.cpp index e5eb8a5d41..872a45a6e3 100644 --- a/wpilibc/src/main/native/cpp/PIDBase.cpp +++ b/wpilibc/src/main/native/cpp/PIDBase.cpp @@ -234,7 +234,7 @@ void PIDBase::Reset() { void PIDBase::PIDWrite(double output) { SetSetpoint(output); } void PIDBase::InitSendable(SendableBuilder& builder) { - builder.SetSmartDashboardType("PIDBase"); + builder.SetSmartDashboardType("PIDController"); builder.SetSafeState([=]() { Reset(); }); builder.AddDoubleProperty("p", [=]() { return GetP(); }, [=](double value) { SetP(value); });