mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
freaky lidar
This commit is contained in:
@@ -50,7 +50,7 @@ public class AutoAlign extends Command {
|
|||||||
if (!isLidar){
|
if (!isLidar){
|
||||||
desiredHeading = new Rotation2d(Math.atan2(dy, dx)+ Math.PI);
|
desiredHeading = new Rotation2d(Math.atan2(dy, dx)+ Math.PI);
|
||||||
}else{
|
}else{
|
||||||
desiredHeading = new Rotation2d(Math.atan2(dy, dx));
|
desiredHeading = new Rotation2d(Math.atan2(dx, dy));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user