File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,12 @@ public void robotPeriodic() {
129
129
checkVision ();
130
130
SmartDashboard .putData ("Driver Controller" , driver .getHID ());
131
131
SmartDashboard .putData ("Operator Controller" , operator .getHID ());
132
+ SmartDashboard .putData (CommandScheduler .getInstance ());
133
+ SmartDashboard .putData (swerve );
134
+ SmartDashboard .putData (climber );
135
+ SmartDashboard .putData (leds );
132
136
SmartDashboard .putData (powerDistribution );
137
+ elevator .periodic ();
133
138
SmartDashboard .putString (
134
139
"Gamepiece" , getLoadedGamepiece () == null ? "None" : getLoadedGamepiece ().toString ());
135
140
}
Original file line number Diff line number Diff line change 1
1
package frc .robot .elevator ;
2
2
3
+ import edu .wpi .first .wpilibj .smartdashboard .SmartDashboard ;
3
4
import edu .wpi .first .wpilibj2 .command .Command ;
4
5
import edu .wpi .first .wpilibj2 .command .Commands ;
5
6
import edu .wpi .first .wpilibj2 .command .InstantCommand ;
@@ -17,6 +18,14 @@ public class Elevator {
17
18
18
19
public Elevator () {}
19
20
21
+ public void periodic () {
22
+ SmartDashboard .putData (lifter );
23
+ SmartDashboard .putData (coralWrist );
24
+ SmartDashboard .putData (coralRoller );
25
+ SmartDashboard .putData (algaeRoller );
26
+ SmartDashboard .putData (algaeWrist );
27
+ }
28
+
20
29
public Lifter getLifter () {
21
30
return lifter ;
22
31
}
You can’t perform that action at this time.
0 commit comments