Skip to content

Commit

Permalink
added loop offset
Browse files Browse the repository at this point in the history
  • Loading branch information
r4stered committed Sep 11, 2024
1 parent a411e2f commit 6a1814f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/cpp/Robot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ void Robot::RobotInit() {
frc::DataLogManager::Start();
frc::DriverStation::StartDataLog(frc::DataLogManager::GetLog());
AddPeriodic([this] { m_container.GetSwerveSubsystem().UpdateSwerveOdom(); },
consts::SWERVE_ODOM_LOOP_PERIOD);
consts::SWERVE_ODOM_LOOP_PERIOD, 2_ms);
}

void Robot::RobotPeriodic() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
36ef86e
a411e2f

0 comments on commit 6a1814f

Please sign in to comment.