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;

View File

@@ -1,7 +1,7 @@
{
"fileName": "REVLib.json",
"name": "REVLib",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"wpilibYear": "2027_alpha7",
"uuid": "3f48eb8c-50fe-43a6-9cb7-44c86353c4cb",
"mavenUrls": [
@@ -12,14 +12,14 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "REVLib-java",
"version": "2027.0.0-alpha-7"
"version": "2027.0.0-alpha-8"
}
],
"jniDependencies": [
{
"groupId": "com.revrobotics.frc",
"artifactId": "REVLib-driver",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"skipInvalidPlatforms": true,
"isJar": false,
"validPlatforms": [
@@ -33,7 +33,7 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "RevLibBackendDriver",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"skipInvalidPlatforms": true,
"isJar": false,
"validPlatforms": [
@@ -47,7 +47,7 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "RevLibWpiBackendDriver",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"skipInvalidPlatforms": true,
"isJar": false,
"validPlatforms": [
@@ -63,7 +63,7 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "REVLib-cpp",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"libName": "REVLib",
"headerClassifier": "headers",
"sharedLibrary": false,
@@ -79,7 +79,7 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "REVLib-driver",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"libName": "REVLibDriver",
"headerClassifier": "headers",
"sharedLibrary": false,
@@ -95,7 +95,7 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "RevLibBackendDriver",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"libName": "BackendDriver",
"sharedLibrary": true,
"skipInvalidPlatforms": true,
@@ -110,7 +110,7 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "RevLibWpiBackendDriver",
"version": "2027.0.0-alpha-7",
"version": "2027.0.0-alpha-8",
"libName": "REVLibWpi",
"sharedLibrary": true,
"skipInvalidPlatforms": true,