#
luxiaotao1123
2024-08-20 f97ee12c96d96e2f529e4248695d643245ec4243
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
export const IP = import.meta.env.COOL_BASE_IP;
 
export const PORT = import.meta.env.COOL_BASE_PORT;
 
export const API_BASE_URL = 'http://' + IP + ':' + PORT + '';
 
export const WEBSOCKET_BASE_URL = 'ws://' + IP + ':' + PORT + '';
 
export const TOKEN_HEADER_NAME = 'Authorization';
 
export const UN_AUTH_CODE = 403;
 
export const DEBUG = false;
 
export const INTERVAL_TIME = 500;
 
// model scale rate
 
export const BATCH_SCALE = 1.3;
 
export const MODEL_AGV_COLOR = 0x4b4b4b;
 
export const MODEL_AGV_SCALE = .7;
 
export const MODEL_BOX_SCALE = .7;
 
export const MODEL_SHELF_SCALE = { x: 0.8, y: 0.8, z: 0.75 };
 
 
// shelf scale & offset
 
export const REAL_COMPARE_MAP_SCALE = .1;
 
export const REAL_COMPARE_MAP_OFFSET_X = -200;
 
export const REAL_COMPARE_MAP_OFFSET_Z = -600;
 
// shelf setting
 
export const SHELF_BAY_GROUP_COUNT = 3;
 
export const SHELF_BAY_UNIT_SEPARTE_DISTANCE = 54;
 
export const SHELF_HEIGHT_FROM_GROUND = 32;
 
export const SHELF_LEV_UNIT_SEPARTE_DISTANCE = 30;