Skip to content

Commit db2feaf

Browse files
committed
Merge branch 'jd/groundintake' of https://github.com/Prospect-Robotics/Advantage_Kit_Testing into jd/groundintake
2 parents b4d7dc1 + f6e3d5c commit db2feaf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/java/frc/robot/subsystems/groundintake/GroundIntakePivotIOReal.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package frc.robot.subsystems.groundintake;
22

33
import com.ctre.phoenix6.configs.TalonFXConfiguration;
4+
import com.ctre.phoenix6.controls.PositionVoltage;
45
import com.ctre.phoenix6.hardware.TalonFX;
56

67
import frc.robot.Constants;
@@ -10,9 +11,11 @@ public class GroundIntakePivotIOReal implements GroundIntakePivotIO {
1011
TalonFX groundIntakePivotMotor;
1112
TalonFXConfiguration groundIntakeMotorPivotConfig;
1213

14+
private PositionVoltage positionVoltage = new PositionVoltage(0);
15+
1316
public GroundIntakePivotIOReal() {
1417

15-
groundIntakePivotMotor = new TalonFX(Constants.G);
18+
groundIntakePivotMotor = new TalonFX(Constants.GROUNDINTAKEPIVOTE_ID);
1619

1720
}
1821

0 commit comments

Comments
 (0)