Skip to content

Commit

Permalink
Decrease write period for wpilogs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Oct 23, 2023
1 parent c80d2ea commit d2b24d3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
import org.littletonrobotics.junction.LogTable.LoggableType;
import org.littletonrobotics.junction.Logger;

import edu.wpi.first.hal.HAL;
import edu.wpi.first.util.datalog.DataLog;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.DriverStation.MatchType;
import edu.wpi.first.wpilibj.RobotBase;

/** Records log values to a WPILOG file. */
public class WPILOGWriter implements LogDataReceiver {
private static final double writePeriodSecs = 0.25;
private static final double writePeriodSecs = 0.1;
private static final double timestampUpdateDelay = 8.0; // Wait several seconds after DS attached to ensure
// timestamp/timezone is updated

Expand Down

0 comments on commit d2b24d3

Please sign in to comment.