Skip to content

Feature/canandgyro - #375

Merged
SpeedSlicer merged 3 commits into
masterfrom
feature/canandgyro
Oct 14, 2026
Merged

SpeedSlicer merged 3 commits into
masterfrom
feature/canandgyro

Conversation

@1023941311414

Copy link
Copy Markdown
Collaborator

No description provided.


import edu.wpi.first.math.geometry.Rotation2d;
import frc.robot.Robot;
import frc.robot.subsystems.drive.DriveConstants;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT ENOUGH SPACING

public static GyroIO getIOByMode(DoubleSupplier simRotRate) {
return switch (Robot.getMode()) {
case REAL -> new GyroIONavX();
case REAL -> new GyroIOCanandgyro(DriveConstants.canandgyroId);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUCH CRAPPY NAME

private final Queue<Double> rate;

double pitchOffset = 0;
double rollOffset = 0;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they see me rolling on my front lawn,

public static final SwerveDriveKinematics kinematics = new SwerveDriveKinematics(frontLeftLocation,
frontRightLocation, backLeftLocation, backRightLocation);

public static final int canandgyroId = 17;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16 17

],
"jniDependencies": [
{
"groupId": "com.reduxrobotics.frc",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

who even is this redux person. never heard of her

@SpeedSlicer SpeedSlicer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i hate the name, i hate the comments, i hate hte psacing, i hate the repository, i hate the drive code i hate wpilib, i hate john, i hate approvaing

@SpeedSlicer
SpeedSlicer merged commit 83e7ff4 into master Oct 14, 2026
2 checks passed
@SpeedSlicer
SpeedSlicer deleted the feature/canandgyro branch October 14, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants