-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maple sim swerve sim #65
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
…into jade/devbot
5 big pushups for that description bruh 💥💥💥💥💥 |
new ModuleIOSim(TunerConstants.FrontRight), | ||
new ModuleIOSim(TunerConstants.BackLeft), | ||
new ModuleIOSim(TunerConstants.BackRight)); | ||
new GyroIOSim(swerveDriveSimulation.getGyroSimulation()) {}, // work around crash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment outdated
if (Constants.robotType == RobotType.SIMBOT) { | ||
// drive.setDefaultCommand( | ||
// drive.joystickDrive( | ||
// () -> -simJoystick.getRawAxis(0), () -> -simJoystick.getRawAxis(1), () -> 0)); | ||
drive.setDefaultCommand(drive.joystickDrive(() -> 0, () -> 0, () -> 0)); | ||
Z.whileTrue(superstructure.align(Setpoints.L2)); | ||
X.whileTrue(superstructure.align(Setpoints.COLLECT)); | ||
} else { | ||
drive.setDefaultCommand( | ||
drive.joystickDrive( | ||
() -> -controller.getLeftY(), | ||
() -> -controller.getLeftX(), | ||
() -> -controller.getRightX())); | ||
|
||
controller.rightBumper().whileTrue(superstructure.align(Setpoints.L3)); | ||
controller.leftBumper().whileTrue(superstructure.align(Setpoints.L2)); | ||
controller.leftTrigger().whileTrue(superstructure.align(Setpoints.COLLECT)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is input changed in sim?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So i could test it in class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert pls I will just use xbox controller thx
idk check the code bruh
i think i did maple syrup sim 💀💀