mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Tuned Motion Magic Gains pretty well
This commit is contained in:
@@ -119,7 +119,7 @@ public class RobotContainer {
|
||||
/* Test Buttons */
|
||||
// A driver test button
|
||||
new JoystickButton(getDriverJoystick(), XboxController.A_BUTTON)
|
||||
.whenPressed(new DriveStraightToPositionMM(m_robotDrive, 24));
|
||||
.whenPressed(new DriveStraightToPositionMM(m_robotDrive, 12));
|
||||
|
||||
// B driver test button
|
||||
new JoystickButton(getDriverJoystick(), XboxController.B_BUTTON)
|
||||
@@ -191,8 +191,8 @@ public class RobotContainer {
|
||||
RamseteCommand ramseteCommand = getRamseteCommand(trajectory);
|
||||
// Run path following command, then stop at the end.
|
||||
//return ramseteCommand.andThen(() -> m_robotDrive.tankDriveVelocity(0, 0));
|
||||
//return new AutoPath1FromCenter(m_robotDrive);
|
||||
return new AutoPath2FromRight(m_robotDrive);
|
||||
return new AutoPath1FromCenter(m_robotDrive);
|
||||
//return new AutoPath2FromRight(m_robotDrive);
|
||||
|
||||
}
|
||||
TrajectoryConfig getTrajectoryConfig() {
|
||||
|
||||
Reference in New Issue
Block a user