mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[examples] Add comment on how to view elevator sim (NFC) (#4482)
This commit is contained in:
@@ -83,6 +83,8 @@ class Robot : public frc::TimedRobot {
|
||||
m_encoder.SetDistancePerPulse(kArmEncoderDistPerPulse);
|
||||
|
||||
// Put Mechanism 2d to SmartDashboard
|
||||
// To view the Elevator Sim in the simulator, select Network Tables ->
|
||||
// SmartDashboard -> Elevator Sim
|
||||
frc::SmartDashboard::PutData("Elevator Sim", &m_mech2d);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user