// Path: Robot/src/main/java/org/usfirst/frc/team2557/robot/commands/DashboardPrintCommand.java
// public class DashboardPrintCommand extends Command {
// 
//     public DashboardPrintCommand() {
//         requires(Robot.dashboard);
// 
//         // Can't be interrupted, nor does
//         // it make sense TO interrupt it
//         setInterruptible(false);
//     }
// 
//     @Override
//     protected void initialize() {
// 
//     }
// 
//     @Override
//     protected void execute() {
//         SmartDashboard.putNumber("Lidar Distance Forward", RobotMap.lidarSensor.getData(352).getDistance());
// 
//         SmartDashboard.putNumber("Encoder Pos (L)", Robot.chassis.getLeftEncoderPos());
//         SmartDashboard.putNumber("Encoder Pos (R)", Robot.chassis.getRightEncoderPos());
// 
//         SmartDashboard.putNumber("Left Potentiometer", RobotMap.leftPotentiometer.getAverageVoltage());
//         SmartDashboard.putNumber("Right Potentiometer", RobotMap.rightPotentiometer.getAverageVoltage());
//         SmartDashboard.putNumber("Arm Position", Robot.arm.getPosition());
// 
//         SmartDashboard.putNumber("Left Potentiometer Speed", Robot.arm.getLeftSpeed());
//         SmartDashboard.putNumber("Right Potentiometer Speed", Robot.arm.getRightSpeed());
//     }
// 
//     @Override
//     protected boolean isFinished() {
//         return false;
//     }
// 
//     @Override
//     protected void end() {
// 
//     }
// 
//     @Override
//     protected void interrupted() {
// 
//     }
// 
// }


import edu.wpi.first.wpilibj.command.Subsystem;
import org.usfirst.frc.team2557.robot.commands.DashboardPrintCommand;
package org.usfirst.frc.team2557.robot.subsystems;


public class Dashboard extends Subsystem {

    @Override
    protected void initDefaultCommand() {
// Path: Robot/src/main/java/org/usfirst/frc/team2557/robot/commands/DashboardPrintCommand.java
// public class DashboardPrintCommand extends Command {
// 
//     public DashboardPrintCommand() {
//         requires(Robot.dashboard);
// 
//         // Can't be interrupted, nor does
//         // it make sense TO interrupt it
//         setInterruptible(false);
//     }
// 
//     @Override
//     protected void initialize() {
// 
//     }
// 
//     @Override
//     protected void execute() {
//         SmartDashboard.putNumber("Lidar Distance Forward", RobotMap.lidarSensor.getData(352).getDistance());
// 
//         SmartDashboard.putNumber("Encoder Pos (L)", Robot.chassis.getLeftEncoderPos());
//         SmartDashboard.putNumber("Encoder Pos (R)", Robot.chassis.getRightEncoderPos());
// 
//         SmartDashboard.putNumber("Left Potentiometer", RobotMap.leftPotentiometer.getAverageVoltage());
//         SmartDashboard.putNumber("Right Potentiometer", RobotMap.rightPotentiometer.getAverageVoltage());
//         SmartDashboard.putNumber("Arm Position", Robot.arm.getPosition());
// 
//         SmartDashboard.putNumber("Left Potentiometer Speed", Robot.arm.getLeftSpeed());
//         SmartDashboard.putNumber("Right Potentiometer Speed", Robot.arm.getRightSpeed());
//     }
// 
//     @Override
//     protected boolean isFinished() {
//         return false;
//     }
// 
//     @Override
//     protected void end() {
// 
//     }
// 
//     @Override
//     protected void interrupted() {
// 
//     }
// 
// }


// Path: Robot/src/main/java/org/usfirst/frc/team2557/robot/subsystems/Dashboard.java
import edu.wpi.first.wpilibj.command.Subsystem;
import org.usfirst.frc.team2557.robot.commands.DashboardPrintCommand;

package org.usfirst.frc.team2557.robot.subsystems;


public class Dashboard extends Subsystem {

    @Override
    protected void initDefaultCommand() {
        setDefaultCommand(new DashboardPrintCommand());