This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package frc.robot.subsystems; | |
import com.revrobotics.CANSparkMax; | |
import com.revrobotics.CANSparkMaxLowLevel; | |
import com.revrobotics.ControlType; | |
import edu.wpi.first.wpilibj.geometry.Translation2d; | |
import edu.wpi.first.wpilibj.kinematics.ChassisSpeeds; | |
import edu.wpi.first.wpilibj.kinematics.SwerveDriveKinematics; | |
import edu.wpi.first.wpilibj.kinematics.SwerveModuleState; | |
import edu.wpi.first.wpilibj2.command.SubsystemBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float x, y, speedX, speedY; | |
float diam = 10; | |
float rectSize = 200; | |
void setup() { | |
fullScreen(); | |
fill(0, 255, 0); | |
reset(); | |
} |