Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
carokhan committed Oct 18, 2024
1 parent ef231a1 commit d3a4a87
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
17 changes: 16 additions & 1 deletion simgui.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"HALProvider": {
"Other Devices": {
"window": {
"visible": false
}
}
},
"NTProvider": {
"types": {
"/AdvantageKit/RealOutputs/Climb/Mechanism2d": "Mechanism2d",
Expand All @@ -24,7 +31,7 @@
"/SmartDashboard/Test": "Command"
},
"windows": {
"/AdvantageKit/RealOutputs/Visualizer/FullRobot": {
"/AdvantageKit/RealOutputs/Visualizer/M_main": {
"window": {
"visible": true
}
Expand Down Expand Up @@ -68,6 +75,14 @@
"window": {
"visible": true
}
},
"/SmartDashboard/VisionSystemSim-main/Sim Field": {
"bottom": 1476,
"height": 8.210550308227539,
"left": 150,
"right": 2961,
"top": 79,
"width": 16.541748046875
}
}
},
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/frc/robot/BuildConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ public final class BuildConstants {
public static final String MAVEN_GROUP = "";
public static final String MAVEN_NAME = "Forte-2-5";
public static final String VERSION = "unspecified";
public static final int GIT_REVISION = 83;
public static final String GIT_SHA = "cd5533efceedea228db5f5c1abfb4d489944d593";
public static final String GIT_DATE = "2024-10-16 05:10:03 EDT";
public static final String GIT_BRANCH = "main";
public static final String BUILD_DATE = "2024-10-17 07:03:41 EDT";
public static final long BUILD_UNIX_TIME = 1729163021410L;
public static final int DIRTY = 1;
public static final int GIT_REVISION = 85;
public static final String GIT_SHA = "332353998183b9d2f9fc779572058bac7a2cf12e";
public static final String GIT_DATE = "2024-10-17 08:15:01 EDT";
public static final String GIT_BRANCH = "vision";
public static final String BUILD_DATE = "2024-10-17 22:40:28 EDT";
public static final long BUILD_UNIX_TIME = 1729219228598L;
public static final int DIRTY = 0;

private BuildConstants() {}
}
10 changes: 5 additions & 5 deletions src/main/java/frc/robot/Visualizer.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public Visualizer(Climb climber, Intake intake, Pivot pivot) {
.getRoot("Robot", Units.inchesToMeters(24 - (26.5 / 2)), Units.inchesToMeters(7))
.append(
new MechanismLigament2d(
"frame", Units.inchesToMeters(26 + 7.5), 0, 15, new Color8Bit(Color.kYellow)));
"frame", Units.inchesToMeters(26), 0, 2, new Color8Bit(Color.kYellow)));

m_climberMech =
m_climberRoot.append(
new MechanismLigament2d(
"Climb", Units.inchesToMeters(17.25), 90, 8, new Color8Bit(Color.kFirstRed)));
"Climb", Units.inchesToMeters(17.25), 90, 4, new Color8Bit(Color.kFirstRed)));
m_climberTarget =
m_climberRoot.append(
new MechanismLigament2d(
Expand All @@ -72,7 +72,7 @@ public Visualizer(Climb climber, Intake intake, Pivot pivot) {
"Intake",
Units.inchesToMeters(14.914264),
83.649627,
8,
4,
new Color8Bit(Color.kFirstBlue)));
m_intakeTarget =
m_intakeRoot.append(
Expand All @@ -86,14 +86,14 @@ public Visualizer(Climb climber, Intake intake, Pivot pivot) {
m_pivotMech =
m_pivotRoot.append(
new MechanismLigament2d(
"Shooter", Units.inchesToMeters(13.1001837), 12, 8, new Color8Bit(Color.kWhite)));
"Shooter", Units.inchesToMeters(13.1001837), 12, 4, new Color8Bit(Color.kWhite)));
m_pivotRelative =
m_pivotRoot.append(
new MechanismLigament2d(
"Shooter Relative",
Units.inchesToMeters(13.1001837),
12,
8,
4,
new Color8Bit(Color.kGray)));
m_pivotTarget =
m_pivotRoot.append(
Expand Down

0 comments on commit d3a4a87

Please sign in to comment.