mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Fix list layout in shuffleboard example (#1413)
This commit is contained in:
committed by
Peter Johnson
parent
622ae29dff
commit
8be693f55d
@@ -41,7 +41,7 @@ public class Robot extends IterativeRobot {
|
||||
ShuffleboardTab driveBaseTab = Shuffleboard.getTab("Drivebase");
|
||||
driveBaseTab.add("Tank Drive", m_tankDrive);
|
||||
// Put both encoders in a list layout
|
||||
ShuffleboardLayout encoders = driveBaseTab.getLayout("List", "Encoders")
|
||||
ShuffleboardLayout encoders = driveBaseTab.getLayout("List Layout", "Encoders")
|
||||
.withPosition(0, 0)
|
||||
.withSize(2, 2);
|
||||
encoders.add("Left Encoder", m_leftEncoder);
|
||||
|
||||
Reference in New Issue
Block a user