SpeedControllerGroup: Call set() from pidWrite()

This means pidWrite() now takes m_isInverted into account.
Fixes #887.
This commit is contained in:
Nic Hodlofski
2018-01-18 22:03:13 -06:00
committed by Peter Johnson
parent 54a0a7654a
commit 0e8ff4663d
2 changed files with 2 additions and 8 deletions

View File

@@ -76,9 +76,7 @@ public class SpeedControllerGroup extends SendableBase implements SpeedControlle
@Override
public void pidWrite(double output) {
for (SpeedController speedController : m_speedControllers) {
speedController.pidWrite(output);
}
set(output);
}
@Override