mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Add comment on how to view elevator sim (NFC) (#4482)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user