Skip to content

Commit

Permalink
drop the auto dump to 10k lines
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Nov 6, 2019
1 parent 8e9be90 commit a8aaf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ shadowJar {
mainClassName = 'edu.wpi.rbe.rbe2001.fieldsimulator.gui.Main'
baseName = 'FieldControl'
classifier = null
version = '0.2.2'
version = '0.2.3'
mergeServiceFiles()
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void addLine(long timestamp, double pos0, double pos1, double pos2, doubl
double[] line = new double[] { timestamp,pos0, pos1, pos2, vel0, vel1, vel2, hw0, hw1, hw2, velsetpoint0, velsetpoint1,
velsetpoint2, setpoint0, setpoint1, setpoint2,Azimuth };
hashMap.add( line);
if(hashMap.size()>100000)
if(hashMap.size()>10000)
writeToFile();

}
Expand Down

0 comments on commit a8aaf7c

Please sign in to comment.