Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #57 from frc3197/climb-conflicts
Browse files Browse the repository at this point in the history
\ Climbing on a button and with a gyro
  • Loading branch information
spencrr committed Mar 24, 2019
2 parents 9d9db58 + 2f59b57 commit 0c9de26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/team3197/frc2019/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void robotInit() {
@Override
public void robotPeriodic() {
SmartDashboard.putNumber("Time", DriverStation.getInstance().getMatchTime());
SmartDashboard.putNumber("verticalGyroSpeedReal", climber.getAngle());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
import org.team3197.frc2019.robot.RobotMap.MaxSpeeds;
import org.team3197.frc2019.robot.subsystems.Climber;
import org.team3197.frc2019.robot.subsystems.Erector;
import org.team3197.frc2019.robot.utilities.FunctionCommand;

import edu.wpi.first.wpilibj.AnalogGyro;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;

public class AutoClimb extends Command {
private Climber climber;
Expand Down

0 comments on commit 0c9de26

Please sign in to comment.