Some logging stuff
This commit is contained in:
@@ -7,6 +7,7 @@ package first.robot;
|
||||
import org.wpilib.command3.Scheduler;
|
||||
import org.wpilib.command3.button.CommandGamepad;
|
||||
import org.wpilib.epilogue.Epilogue;
|
||||
import org.wpilib.epilogue.EpilogueTelemetry;
|
||||
import org.wpilib.epilogue.Logged;
|
||||
import org.wpilib.framework.OpModeRobot;
|
||||
|
||||
|
||||
@@ -5,9 +5,11 @@ import org.wpilib.command3.Mechanism;
|
||||
import org.wpilib.command3.button.CommandGamepad;
|
||||
import org.wpilib.drive.DifferentialDrive;
|
||||
import org.wpilib.drivers.motor.VictorSP;
|
||||
import org.wpilib.epilogue.Logged;
|
||||
|
||||
import first.robot.constants.DrivetrainConstants;
|
||||
|
||||
@Logged
|
||||
public class Drivetrain implements Mechanism {
|
||||
private VictorSP frontLeft;
|
||||
private VictorSP rearLeft;
|
||||
|
||||
@@ -2,10 +2,12 @@ package first.robot.mechanisms;
|
||||
|
||||
import org.wpilib.command3.Command;
|
||||
import org.wpilib.command3.Mechanism;
|
||||
import org.wpilib.epilogue.Logged;
|
||||
import org.wpilib.hardware.bus.SerialPort;
|
||||
|
||||
import first.robot.constants.PusherConstants;
|
||||
|
||||
@Logged
|
||||
public class Pusher implements Mechanism {
|
||||
private SerialPort pusher;
|
||||
|
||||
|
||||
@@ -4,12 +4,14 @@ import java.util.function.DoubleSupplier;
|
||||
|
||||
import org.wpilib.command3.Command;
|
||||
import org.wpilib.command3.Mechanism;
|
||||
import org.wpilib.epilogue.Logged;
|
||||
|
||||
import com.revrobotics.spark.SparkMax;
|
||||
import com.revrobotics.spark.SparkLowLevel.MotorType;
|
||||
|
||||
import first.robot.constants.ShooterConstants;
|
||||
|
||||
@Logged
|
||||
public class Shooter implements Mechanism {
|
||||
private SparkMax frontShooter;
|
||||
private SparkMax rearShooter;
|
||||
|
||||
Reference in New Issue
Block a user