mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
Merge branch 'arm' of https://github.com/Team4388/2023WayOfTheRobot into arm
This commit is contained in:
@@ -10,12 +10,14 @@ public class Arm extends SubsystemBase {
|
|||||||
private WPI_TalonFX m_tele;
|
private WPI_TalonFX m_tele;
|
||||||
private WPI_TalonFX m_pivot;
|
private WPI_TalonFX m_pivot;
|
||||||
private boolean m_debug;
|
private boolean m_debug;
|
||||||
// Moves arm to distence [dist] then returns new ang
|
|
||||||
|
// Moves arm to distance [dist] then returns new ang
|
||||||
public Arm(WPI_TalonFX pivot, WPI_TalonFX tele, boolean debug) {
|
public Arm(WPI_TalonFX pivot, WPI_TalonFX tele, boolean debug) {
|
||||||
tele.configFactoryDefault();
|
|
||||||
m_tele = tele;
|
m_tele = tele;
|
||||||
pivot.configFactoryDefault();
|
|
||||||
m_pivot = pivot;
|
m_pivot = pivot;
|
||||||
|
|
||||||
|
tele.configFactoryDefault();
|
||||||
|
pivot.configFactoryDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Arm(WPI_TalonFX pivot, WPI_TalonFX tele) {
|
public Arm(WPI_TalonFX pivot, WPI_TalonFX tele) {
|
||||||
|
|||||||
Reference in New Issue
Block a user