ODOMETRY MIGHT WORK (more testing needed tho)

This commit is contained in:
aarav18
2022-01-22 15:55:04 -07:00
parent 4cc0a2109a
commit 910895ecee
9 changed files with 88 additions and 64 deletions
@@ -5,6 +5,7 @@
package frc4388.robot;
import edu.wpi.first.math.geometry.Pose2d;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.InstantCommand;
@@ -116,6 +117,9 @@ public class RobotContainer {
return m_driverXbox;
}
public Pose2d getOdometry() {
return m_robotSwerveDrive.getOdometry();
}
/**
* Add your docs here.
*/