Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/main/java/frc/team2412/robot/Subsystems.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@
import edu.wpi.first.math.geometry.Rotation2d;
import edu.wpi.first.math.kinematics.SwerveModulePosition;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.shuffleboard.BuiltInWidgets;
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
import frc.team2412.robot.subsystems.ArmSubsystem;
import frc.team2412.robot.subsystems.DrivebaseSubsystem;
import frc.team2412.robot.subsystems.IntakeSubsystem;
import frc.team2412.robot.subsystems.LEDSubsystem;
import frc.team2412.robot.subsystems.VisionSubsystem;
import java.util.Map;

public class Subsystems {
public static class SubsystemConstants {
Expand Down Expand Up @@ -74,6 +77,10 @@ public Subsystems() {
// YUYV only:
// 2304x1296, 2304x1536
driverVisionCamera.setResolution(160, 120);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might consider starting with a higher resolution so we have it fully vetted for bandwidth problems as soon as we can. I believe the off season FMS is setup to limit bandwidth.

Shuffleboard.getTab("Driver vision")
.add("Test cam", driverVisionCamera)
.withWidget(BuiltInWidgets.kCameraStream)
.withProperties(Map.of("Show crosshair", false, "Rotation", "QUARTER_CW"));
}
}
if (!comp) {
Expand Down