Skip to content

driving works#5

Open
ArmedBot22 wants to merge 11 commits intomainfrom
team1111
Open

driving works#5
ArmedBot22 wants to merge 11 commits intomainfrom
team1111

Conversation

@ArmedBot22
Copy link

No description provided.

@Override
public void execute() {
m_drivetrain.arcadeDriveKinematics(m_xaxisSpeedSupplier.get(), m_zaxisRotateSupplier.get());
m_drivetrain.arcadeDriveKinematics(m_xaxisSpeedSupplier.get()*0.5, m_zaxisRotateSupplier.get()*0.5);

Choose a reason for hiding this comment

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

[spotless] reported by reviewdog 🐶

Suggested change
m_drivetrain.arcadeDriveKinematics(m_xaxisSpeedSupplier.get()*0.5, m_zaxisRotateSupplier.get()*0.5);
m_drivetrain.arcadeDriveKinematics(
m_xaxisSpeedSupplier.get() * 0.5, m_zaxisRotateSupplier.get() * 0.5);

Comment on lines +3 to +4
import java.util.function.DoubleSupplier;

Choose a reason for hiding this comment

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

[spotless] reported by reviewdog 🐶

Suggested change
import java.util.function.DoubleSupplier;

import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Arm;
import java.util.function.DoubleSupplier;

Choose a reason for hiding this comment

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

[spotless] reported by reviewdog 🐶

Suggested change
import java.util.function.DoubleSupplier;

@Override
public void execute() {
m_drivetrain.arcadeDriveKinematics(m_xaxisSpeedSupplier.get(), m_zaxisRotateSupplier.get());
m_drivetrain.arcadeDriveKinematics(m_xaxisSpeedSupplier.get()*0.75, m_zaxisRotateSupplier.get()*0.5);

Choose a reason for hiding this comment

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

[spotless] reported by reviewdog 🐶

Suggested change
m_drivetrain.arcadeDriveKinematics(m_xaxisSpeedSupplier.get()*0.75, m_zaxisRotateSupplier.get()*0.5);
m_drivetrain.arcadeDriveKinematics(
m_xaxisSpeedSupplier.get() * 0.75, m_zaxisRotateSupplier.get() * 0.5);

Comment on lines 22 to 23
new TurnDegrees(0.35, 180, drivetrain)
);

Choose a reason for hiding this comment

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

[spotless] reported by reviewdog 🐶

Suggested change
new TurnDegrees(0.35, 180, drivetrain)
);
new TurnDegrees(0.35, 180, drivetrain));

Comment on lines +20 to +23
//new TurnDegrees(0.3, 80, drivetrain),
//new DriveDistance(0.5, 5, drivetrain),
//new TurnDegrees(0.35, 90, drivetrain)
);

Choose a reason for hiding this comment

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

[spotless] reported by reviewdog 🐶

Suggested change
//new TurnDegrees(0.3, 80, drivetrain),
//new DriveDistance(0.5, 5, drivetrain),
//new TurnDegrees(0.35, 90, drivetrain)
);
// new TurnDegrees(0.3, 80, drivetrain),
// new DriveDistance(0.5, 5, drivetrain),
// new TurnDegrees(0.35, 90, drivetrain)
);

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