Skip to content

Commit

Permalink
Revert "Make SimpleNote serializable for AScope (#280)" (#285)
Browse files Browse the repository at this point in the history
This reverts commit 3c15c1c.
  • Loading branch information
aschokking authored Mar 30, 2024
1 parent 3c15c1c commit 97f2f42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 49 deletions.
6 changes: 1 addition & 5 deletions src/main/java/competition/subsystems/vision/SimpleNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ public class SimpleNote implements StructSerializable {
final double yaw;
final double pitch;

public static final SimpleNoteStruct struct = new SimpleNoteStruct();

public SimpleNote(double area, double yaw, double pitch) {
this.area = area;
this.yaw = yaw;
Expand All @@ -23,7 +21,5 @@ public double getYaw() {
return yaw;
}

public double getPitch() {
return pitch;
}
public double getPitch() { return pitch; }
}
42 changes: 0 additions & 42 deletions src/main/java/competition/subsystems/vision/SimpleNoteStruct.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,10 @@ public void periodic() {
}, () -> {
aKitLog.record("CenterCamLargestTargetArea", -1.0);
aKitLog.record("CenterCamLargestTargetYaw", 0.0);
aKitLog.record("CenterCamLargestTargetPitch", 0.0);
aKitLog.record("CenterCamLargestTargetPitch", 0);
});

aKitLog.record("CenterlineDetections", centerlineDetections);
// aKitLog.record("CenterlineDetections", centerlineDetections);
aKitLog.record("DetectedNotes", detectedNotes);
aKitLog.record("PassiveDetectedNotes", passiveDetectedNotes);
}
Expand Down

0 comments on commit 97f2f42

Please sign in to comment.