File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
src/main/java/org/lasarobotics/hardware/Thriftybot Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ package org .lasarobotics .hardware .Thriftybot ;
2
+
3
+ import org .lasarobotics .hardware .LoggableHardware ;
4
+ import org .lasarobotics .hardware .ctre .PhoenixCANBus ;
5
+ import org .littletonrobotics .junction .AutoLog ;
6
+ import org .littletonrobotics .junction .Logger ;
7
+
8
+ import com .thethriftybot .ThriftyNova ;
9
+ import com .ctre .phoenix6 .configs .CANcoderConfiguration ;
10
+ import com .ctre .phoenix6 .signals .SensorDirectionValue ;
11
+
12
+
13
+ public class ThriftybotMotor implements LoggableHardware {
14
+
15
+ public static class ID {
16
+ public final String name ;
17
+ public final int deviceID ;
18
+
19
+
20
+ public ID (String name , int deviceID ) {
21
+ this .name = name ;
22
+ this .deviceID = deviceID ;
23
+ }
24
+ }
25
+ }
26
+
27
+
You can’t perform that action at this time.
0 commit comments