Skip to content

Commit

Permalink
Tiny cleanup in FrequencyCalculator (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
ds58 authored Nov 14, 2024
1 parent 284f5af commit ab14110
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package us.ihmc.tools.time;

import us.ihmc.commons.Conversions;
import us.ihmc.commons.thread.ThreadTools;
import us.ihmc.log.LogTools;
import us.ihmc.tools.thread.MissingThreadTools;

Expand All @@ -16,7 +15,7 @@
*/
public class FrequencyCalculator
{
private double alpha = 0.3;
private final double alpha = 0.3;
private double lastEventTime = Double.NaN;
private double smoothedPeriod = Double.NaN;

Expand Down

0 comments on commit ab14110

Please sign in to comment.