Some logging stuff
This commit is contained in:
@@ -7,6 +7,7 @@ package first.robot;
|
|||||||
import org.wpilib.command3.Scheduler;
|
import org.wpilib.command3.Scheduler;
|
||||||
import org.wpilib.command3.button.CommandGamepad;
|
import org.wpilib.command3.button.CommandGamepad;
|
||||||
import org.wpilib.epilogue.Epilogue;
|
import org.wpilib.epilogue.Epilogue;
|
||||||
|
import org.wpilib.epilogue.EpilogueTelemetry;
|
||||||
import org.wpilib.epilogue.Logged;
|
import org.wpilib.epilogue.Logged;
|
||||||
import org.wpilib.framework.OpModeRobot;
|
import org.wpilib.framework.OpModeRobot;
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,11 @@ import org.wpilib.command3.Mechanism;
|
|||||||
import org.wpilib.command3.button.CommandGamepad;
|
import org.wpilib.command3.button.CommandGamepad;
|
||||||
import org.wpilib.drive.DifferentialDrive;
|
import org.wpilib.drive.DifferentialDrive;
|
||||||
import org.wpilib.drivers.motor.VictorSP;
|
import org.wpilib.drivers.motor.VictorSP;
|
||||||
|
import org.wpilib.epilogue.Logged;
|
||||||
|
|
||||||
import first.robot.constants.DrivetrainConstants;
|
import first.robot.constants.DrivetrainConstants;
|
||||||
|
|
||||||
|
@Logged
|
||||||
public class Drivetrain implements Mechanism {
|
public class Drivetrain implements Mechanism {
|
||||||
private VictorSP frontLeft;
|
private VictorSP frontLeft;
|
||||||
private VictorSP rearLeft;
|
private VictorSP rearLeft;
|
||||||
|
|||||||
@@ -2,10 +2,12 @@ package first.robot.mechanisms;
|
|||||||
|
|
||||||
import org.wpilib.command3.Command;
|
import org.wpilib.command3.Command;
|
||||||
import org.wpilib.command3.Mechanism;
|
import org.wpilib.command3.Mechanism;
|
||||||
|
import org.wpilib.epilogue.Logged;
|
||||||
import org.wpilib.hardware.bus.SerialPort;
|
import org.wpilib.hardware.bus.SerialPort;
|
||||||
|
|
||||||
import first.robot.constants.PusherConstants;
|
import first.robot.constants.PusherConstants;
|
||||||
|
|
||||||
|
@Logged
|
||||||
public class Pusher implements Mechanism {
|
public class Pusher implements Mechanism {
|
||||||
private SerialPort pusher;
|
private SerialPort pusher;
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,14 @@ import java.util.function.DoubleSupplier;
|
|||||||
|
|
||||||
import org.wpilib.command3.Command;
|
import org.wpilib.command3.Command;
|
||||||
import org.wpilib.command3.Mechanism;
|
import org.wpilib.command3.Mechanism;
|
||||||
|
import org.wpilib.epilogue.Logged;
|
||||||
|
|
||||||
import com.revrobotics.spark.SparkMax;
|
import com.revrobotics.spark.SparkMax;
|
||||||
import com.revrobotics.spark.SparkLowLevel.MotorType;
|
import com.revrobotics.spark.SparkLowLevel.MotorType;
|
||||||
|
|
||||||
import first.robot.constants.ShooterConstants;
|
import first.robot.constants.ShooterConstants;
|
||||||
|
|
||||||
|
@Logged
|
||||||
public class Shooter implements Mechanism {
|
public class Shooter implements Mechanism {
|
||||||
private SparkMax frontShooter;
|
private SparkMax frontShooter;
|
||||||
private SparkMax rearShooter;
|
private SparkMax rearShooter;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"fileName": "REVLib.json",
|
"fileName": "REVLib.json",
|
||||||
"name": "REVLib",
|
"name": "REVLib",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"wpilibYear": "2027_alpha7",
|
"wpilibYear": "2027_alpha7",
|
||||||
"uuid": "3f48eb8c-50fe-43a6-9cb7-44c86353c4cb",
|
"uuid": "3f48eb8c-50fe-43a6-9cb7-44c86353c4cb",
|
||||||
"mavenUrls": [
|
"mavenUrls": [
|
||||||
@@ -12,14 +12,14 @@
|
|||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "REVLib-java",
|
"artifactId": "REVLib-java",
|
||||||
"version": "2027.0.0-alpha-7"
|
"version": "2027.0.0-alpha-8"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"jniDependencies": [
|
"jniDependencies": [
|
||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "REVLib-driver",
|
"artifactId": "REVLib-driver",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"skipInvalidPlatforms": true,
|
"skipInvalidPlatforms": true,
|
||||||
"isJar": false,
|
"isJar": false,
|
||||||
"validPlatforms": [
|
"validPlatforms": [
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "RevLibBackendDriver",
|
"artifactId": "RevLibBackendDriver",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"skipInvalidPlatforms": true,
|
"skipInvalidPlatforms": true,
|
||||||
"isJar": false,
|
"isJar": false,
|
||||||
"validPlatforms": [
|
"validPlatforms": [
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "RevLibWpiBackendDriver",
|
"artifactId": "RevLibWpiBackendDriver",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"skipInvalidPlatforms": true,
|
"skipInvalidPlatforms": true,
|
||||||
"isJar": false,
|
"isJar": false,
|
||||||
"validPlatforms": [
|
"validPlatforms": [
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "REVLib-cpp",
|
"artifactId": "REVLib-cpp",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"libName": "REVLib",
|
"libName": "REVLib",
|
||||||
"headerClassifier": "headers",
|
"headerClassifier": "headers",
|
||||||
"sharedLibrary": false,
|
"sharedLibrary": false,
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "REVLib-driver",
|
"artifactId": "REVLib-driver",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"libName": "REVLibDriver",
|
"libName": "REVLibDriver",
|
||||||
"headerClassifier": "headers",
|
"headerClassifier": "headers",
|
||||||
"sharedLibrary": false,
|
"sharedLibrary": false,
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "RevLibBackendDriver",
|
"artifactId": "RevLibBackendDriver",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"libName": "BackendDriver",
|
"libName": "BackendDriver",
|
||||||
"sharedLibrary": true,
|
"sharedLibrary": true,
|
||||||
"skipInvalidPlatforms": true,
|
"skipInvalidPlatforms": true,
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
{
|
{
|
||||||
"groupId": "com.revrobotics.frc",
|
"groupId": "com.revrobotics.frc",
|
||||||
"artifactId": "RevLibWpiBackendDriver",
|
"artifactId": "RevLibWpiBackendDriver",
|
||||||
"version": "2027.0.0-alpha-7",
|
"version": "2027.0.0-alpha-8",
|
||||||
"libName": "REVLibWpi",
|
"libName": "REVLibWpi",
|
||||||
"sharedLibrary": true,
|
"sharedLibrary": true,
|
||||||
"skipInvalidPlatforms": true,
|
"skipInvalidPlatforms": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user