Skip to content

Commit

Permalink
Fix a few flange squeal issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cam72cam committed Oct 18, 2023
1 parent 2446498 commit 5f04f0d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ private class Sound {
}

void effects() {
double yawDelta = Math.max(
DegreeFuncs.delta(stock.getFrontYaw(), stock.getRotationYaw())/stock.getDefinition().getBogeyFront(stock.gauge),
DegreeFuncs.delta(stock.getRearYaw(), stock.getRotationYaw())/-stock.getDefinition().getBogeyRear(stock.gauge)
);
double yawDelta = DegreeFuncs.delta(stock.getFrontYaw(), stock.getRearYaw()) /
Math.abs(stock.getDefinition().getBogeyFront(stock.gauge) - stock.getDefinition().getBogeyRear(stock.gauge));
double startingFlangeSpeed = 5;
double kmh = Math.abs(stock.getCurrentSpeed().metric());
double flangeMinYaw = stock.getDefinition().flange_min_yaw;
Expand Down

0 comments on commit 5f04f0d

Please sign in to comment.