Remove extra newlines after open curly braces (NFC) (#3471)

This commit is contained in:
Tyler Veness
2021-07-09 00:41:30 -04:00
committed by GitHub
parent a4233e1a16
commit 9d68d95825
47 changed files with 0 additions and 67 deletions

View File

@@ -55,7 +55,6 @@ public class RobotContainer {
* JoystickButton}.
*/
private void configureButtonBindings() {
// Move the arm to 2 radians above horizontal when the 'A' button is pressed.
new JoystickButton(m_driverController, Button.kA.value)
.whenPressed(

View File

@@ -55,7 +55,6 @@ public class RobotContainer {
* JoystickButton}.
*/
private void configureButtonBindings() {
// Move the arm to 2 radians above horizontal when the 'A' button is pressed.
new JoystickButton(m_driverController, Button.kA.value)
.whenPressed(() -> m_robotArm.setGoal(2), m_robotArm);

View File

@@ -78,7 +78,6 @@ public class RobotContainer {
* @return the command to run in autonomous
*/
public Command getAutonomousCommand() {
// Create a voltage constraint to ensure we don't accelerate too fast
var autoVoltageConstraint =
new DifferentialDriveVoltageConstraint(

View File

@@ -55,7 +55,6 @@ public class Robot extends TimedRobot {
/** This autonomous runs the autonomous command selected by your {@link RobotContainer} class. */
@Override
public void autonomousInit() {
// Get selected routine from the SmartDashboard
m_autonomousCommand = m_robotContainer.getAutonomousCommand();

View File

@@ -84,7 +84,6 @@ public class RobotContainer {
* @return the command to run in autonomous
*/
public Command getAutonomousCommand() {
// Create a voltage constraint to ensure we don't accelerate too fast
var autoVoltageConstraint =
new DifferentialDriveVoltageConstraint(

View File

@@ -91,7 +91,6 @@ public class Robot extends TimedRobot {
@Override
public void teleopPeriodic() {
// Sets the target speed of our flywheel. This is similar to setting the setpoint of a
// PID controller.
if (m_joystick.getTriggerPressed()) {

View File

@@ -46,7 +46,6 @@ public class SwerveModule {
int[] turningEncoderPorts,
boolean driveEncoderReversed,
boolean turningEncoderReversed) {
m_driveMotor = new Spark(driveMotorChannel);
m_turningMotor = new Spark(turningMotorChannel);