Cleaned up some leftover testing code

This commit is contained in:
2025-10-27 22:53:38 -04:00
parent 73a386fe5a
commit f1d5cf518f

View File

@ -285,15 +285,12 @@ function drawRobot(ctx, robot) {
modules.forEach(module => drawModule(ctx, module));
}
let robot = new SwerveDrive(PresetConfigs.eightWheel(200));
let xSpeed = -100;
let xDir = 1;
let ySpeed = -100;
let yDir = 0.8;
// Initialize Variables
const robot = new SwerveDrive(PresetConfigs.eightWheel(200));
let xSpeed = 0;
let ySpeed = 0;
let turnSpeed = -1;
let turnDir = 0.01;
let robotRotation = 0; // Track cumulative robot rotation for grid display
let gridSquareSize = 25;