mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
cone mid alomst done
This commit is contained in:
@@ -8,6 +8,7 @@ import com.ctre.phoenix.sensors.CANCoder;
|
||||
import com.ctre.phoenix.sensors.CANCoderConfiguration;
|
||||
import frc4388.robot.Constants.ArmConstants;
|
||||
import frc4388.utility.DeferredBlock;
|
||||
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
|
||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||
|
||||
public class Arm extends SubsystemBase {
|
||||
@@ -146,6 +147,9 @@ public class Arm extends SubsystemBase {
|
||||
tele_reset = true;
|
||||
}
|
||||
|
||||
SmartDashboard.putNumber("Pivot CANCoder", getArmRotation());
|
||||
SmartDashboard.putNumber("Tele Encoder", getArmLength());
|
||||
|
||||
// double x = Math.cos(Math.toRadians(degrees));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user