Skip to content

Commit

Permalink
simple reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius-Juston committed Dec 14, 2019
1 parent 04fee2a commit 8861331
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 37 deletions.
7 changes: 2 additions & 5 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions Path Planning.iml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,5 @@
<orderEntry type="library" name="motionLibrary" level="project" />
<orderEntry type="library" name="fx-gson-3.1.0-sources" level="project" />
<orderEntry type="library" name="gson-2.8.5" level="project" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$USER_HOME$/Downloads/opencv/build/java/opencv-343.jar!/" />
</CLASSES>
<JAVADOC />
<NATIVE>
<root url="file://$USER_HOME$/Downloads/opencv/build/java/x64" />
</NATIVE>
<SOURCES>
<root url="jar://$USER_HOME$/Downloads/opencv/build/java/opencv-343.jar!/" />
</SOURCES>
</library>
</orderEntry>
</component>
</module>
Binary file modified out/production/Path_Planning.jar
Binary file not shown.
28 changes: 14 additions & 14 deletions src/calibration/Field.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,20 +291,6 @@ public void addObstacle(FieldBorder obstacle) {
// Mesher.createMesh();
}

@Override
public String toString() {
return "Field{" +
"robotWidth=" + robotWidth +
", SCALE=" + SCALE +
", UNIT=" + UNIT +
", fieldObstacles=" + fieldObstacles +
", imageFile=" + getImageFile() +
", image=" + getImage() +
", obstacleGroup=" + getObstacleGroup() +
", fieldBorder=" + fieldBorder +
'}';
}

public void improveImageContrast() {
ColorAdjust colorAdjust = new ColorAdjust(0, 0, 0, 0);
}
Expand Down Expand Up @@ -332,4 +318,18 @@ public Group getObstacleGroup() {
public void setObstacleGroup(Group obstacleGroup) {
this.obstacleGroup = obstacleGroup;
}

@Override
public String toString() {
return "Field{" +
"robotWidth=" + robotWidth +
", SCALE=" + SCALE +
", UNIT=" + UNIT +
", fieldObstacles=" + fieldObstacles +
", imageFile=" + getImageFile() +
", image=" + getImage() +
", obstacleGroup=" + getObstacleGroup() +
", fieldBorder=" + fieldBorder +
'}';
}
}

0 comments on commit 8861331

Please sign in to comment.