Skip to content

Commit

Permalink
Update mock shifting (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
valterc committed Jan 22, 2024
1 parent f39136e commit 4807209
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public class MockShiftingDeviceConnection implements IAntDeviceConnection {
private static final int VALUE_INIT_BATTERY_MIN = 20;
private static final int VALUE_INIT_BATTERY_MAX = 70;
private static final float PROBABILITY_INIT_DISCONNECT = .5f;
private static final float PROBABILITY_DATA_REAR_SHIFT = .5f;
private static final float PROBABILITY_DATA_FRONT_SHIFT = .1f;
private static final float PROBABILITY_DATA_REAR_SHIFT = .1f;
private static final float PROBABILITY_DATA_FRONT_SHIFT = .05f;
private static final float PROBABILITY_DATA_BATTERY_DECREASE = .001f;

private final DeviceId deviceId;
Expand Down

0 comments on commit 4807209

Please sign in to comment.