mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Merge "AnalogInput::PIDGet returns an average voltage[artf2391]"
This commit is contained in:
@@ -398,7 +398,7 @@ float AnalogInput::GetSampleRate()
|
||||
double AnalogInput::PIDGet()
|
||||
{
|
||||
if (StatusIsFatal()) return 0.0;
|
||||
return GetAverageValue();
|
||||
return GetAverageVoltage();
|
||||
}
|
||||
|
||||
void AnalogInput::UpdateTable() {
|
||||
|
||||
Reference in New Issue
Block a user