mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpilibj] MechanismRoot2d: Add flush to setPosition (#4011)
Fixes #4010.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user