[examples] Add comment on how to view elevator sim (NFC) (#4482)

This commit is contained in:
Michael Leong
2022-12-13 22:34:00 -08:00
committed by GitHub
parent fb2c170b6e
commit cc8675a4e5
2 changed files with 4 additions and 0 deletions

View File

@@ -76,6 +76,8 @@ public class Robot extends TimedRobot {
m_encoder.setDistancePerPulse(kElevatorEncoderDistPerPulse);
// Publish Mechanism2d to SmartDashboard
// To view the Elevator Sim in the simulator, select Network Tables -> SmartDashboard ->
// Elevator Sim
SmartDashboard.putData("Elevator Sim", m_mech2d);
}