[wpilibj] MechanismRoot2d: Add flush to setPosition (#4011)

Fixes #4010.
This commit is contained in:
sciencewhiz
2022-02-06 22:47:33 -08:00
committed by GitHub
parent aeca09db09
commit 2f43274aa4

View File

@@ -70,6 +70,7 @@ public final class MechanismRoot2d {
public synchronized void setPosition(double x, double y) {
m_x = x;
m_y = y;
flush();
}
synchronized void update(NetworkTable table) {