Some logging stuff

This commit is contained in:
2026-09-30 14:44:33 -04:00
parent 762edeba34
commit d1df685e2a
5 changed files with 16 additions and 9 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;