mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
Update that does not currently work
Work on shuffleboard integration
This commit is contained in:
@@ -15,17 +15,13 @@ public class Location {
|
||||
}
|
||||
|
||||
public Object[] getPosition() {
|
||||
Object[] Position = {};
|
||||
|
||||
if(isLimelight){
|
||||
//Return Limelight Position
|
||||
}else if(isApriltag){
|
||||
return Apriltag.getApriltagPosition();
|
||||
}else{
|
||||
//Return odometry Position, last resort
|
||||
}
|
||||
|
||||
return Position;
|
||||
return null;
|
||||
}
|
||||
|
||||
public Object[] getRotation() {
|
||||
|
||||
Reference in New Issue
Block a user