Skip to content

Commit 910c8bd

Browse files
authored
fix: Increase exit margin distance, increase exit speeds (#706)
1 parent d0676d3 commit 910c8bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/Scripts/Pinpoint/UI/EphysCopilot/DrivePanelHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private enum DriveState
3030

3131
// Relative distances (in mm)
3232
private const float OUTSIDE_DISTANCE = 3.5f;
33-
private const float DURA_MARGIN_DISTANCE = 0.1f;
33+
private const float DURA_MARGIN_DISTANCE = 0.2f;
3434
private const float NEAR_TARGET_DISTANCE = 1f;
3535
private const float DRIVE_PAST_TARGET_DISTANCE = 0.05f;
3636

@@ -42,8 +42,8 @@ private enum DriveState
4242

4343
// Speed multipliers
4444
private const float NEAR_TARGET_SPEED_MULTIPLIER = 2f / 3f;
45-
private const int EXIT_DRIVE_SPEED_MULTIPLIER = 5;
46-
private const int OUTSIDE_DRIVE_SPEED_MULTIPLIER = 20;
45+
private const int EXIT_DRIVE_SPEED_MULTIPLIER = 6;
46+
private const int OUTSIDE_DRIVE_SPEED_MULTIPLIER = 50;
4747

4848
// Per 1000 um speed increase (in mm/s)
4949
private const float PER_1000_SPEED = 0.001f;

0 commit comments

Comments
 (0)