mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 08:48:07 -06:00
Add a NetworkTables client to download paths
Rename shooter CSV file Add workspace file
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package frc4388.utility;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.OutputStream;
|
||||
import java.io.Writer;
|
||||
import java.util.Optional;
|
||||
|
||||
import com.diffplug.common.base.Errors;
|
||||
@@ -31,6 +33,10 @@ public final class PathPlannerUtil {
|
||||
Errors.log().run(() -> objectMapper.writeValue(resultFile, this));
|
||||
}
|
||||
|
||||
public void write(Writer writer) {
|
||||
Errors.log().run(() -> objectMapper.writeValue(writer, this));
|
||||
}
|
||||
|
||||
public static final class Waypoint {
|
||||
public Optional<Translation2d> anchorPoint;
|
||||
public Optional<Translation2d> prevControl;
|
||||
|
||||
Reference in New Issue
Block a user