Skip to content

Commit a8aaf7c

Browse files
committed
drop the auto dump to 10k lines
1 parent 8e9be90 commit a8aaf7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ shadowJar {
5454
mainClassName = 'edu.wpi.rbe.rbe2001.fieldsimulator.gui.Main'
5555
baseName = 'FieldControl'
5656
classifier = null
57-
version = '0.2.2'
57+
version = '0.2.3'
5858
mergeServiceFiles()
5959
}

src/main/java/edu/wpi/rbe/rbe2001/fieldsimulator/gui/CSVManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void addLine(long timestamp, double pos0, double pos1, double pos2, doubl
2121
double[] line = new double[] { timestamp,pos0, pos1, pos2, vel0, vel1, vel2, hw0, hw1, hw2, velsetpoint0, velsetpoint1,
2222
velsetpoint2, setpoint0, setpoint1, setpoint2,Azimuth };
2323
hashMap.add( line);
24-
if(hashMap.size()>100000)
24+
if(hashMap.size()>10000)
2525
writeToFile();
2626

2727
}

0 commit comments

Comments
 (0)