[wpilib] Give Field2d a default Sendable name (#2953)

This commit is contained in:
Tyler Veness
2020-12-24 12:26:03 -08:00
committed by GitHub
parent f9d492f4b1
commit 9962f6fd79
3 changed files with 8 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ public class Field2d implements Sendable {
FieldObject2d obj = new FieldObject2d("Robot");
obj.setPose(new Pose2d());
m_objects.add(obj);
SendableRegistry.add(this, "Field");
}
/**