-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreferences.py
More file actions
31 lines (26 loc) · 987 Bytes
/
Copy pathpreferences.py
File metadata and controls
31 lines (26 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Program settings
SESSION_PATH = "c:\\tmp\\"
FILENAME_TEMPLATE = "odop-vI{}-vA{}-hI{}-hA{}.jpg"
ENABLE_DGCC = True
# DGCC settings
dgccPath = "C:\\Program Files (x86)\\digiCamControl\\"
dgccMainEXE = "CameraControl.exe"
dgccTool = dgccPath + "CameraControlRemoteCmd.exe"
dgccSnapCommand = " /c capture "
# Serial settings
PORT = '/dev/cu.usbmodem101' # 'COM5'
BAUD_RATE = 9600
READY_MSG = 'Controller ready' # Program waits for this message
# X-axis angular range (total range is divided by number of vertical shots)
X_ANGLE_MIN = -15.
X_ANGLE_MAX = 90.
# Delays
TIME_INIT_MAX = 60. # Maximum initialisation time for ODOP (in seconds)
TIME_WINDOW_MIN = 2. # Minimum time window to execute a command
TIME_WINDOW_MAX = 120. # Maximum time window to execute a command (default for move_abs commands)
DELAY_BEFORE_SHOT = 1.
DELAY_AFTER_SHOT = 1.5
# Verbose
DEBUG_VERBOSE = False
STATUS_VERBOSE = True
RUN_MESSAGE = 'Make sure to remove all calibration wires before starting run.'