-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDebug.h
More file actions
62 lines (48 loc) · 2.63 KB
/
Copy pathDebug.h
File metadata and controls
62 lines (48 loc) · 2.63 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//===========================================================================//
// FIXME: debug options
// open v2ray $ sudo systemctl start v2raya.service
// open serialPort $ sudo chmod 777 /dev/ttyUSB0
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
#define ALL_DEBUG_MOOD // show all file
#define DETECT_DEBUG_MOOD // show armor file
#define SOLVER_DEBUG_MOOD // show solver file
#define PREDICT_DEBUG_MOOD // show predict file
//===========================================================================//
//===========================================================================//
// Hardware device options
// TODO: Make sure define comment state are reasonable
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
//#define USING_MINDVISION // using MindVision
#define USING_HIKCAM // using hik camera
//#define USING_USB_CAMERA // using usb camera
//#define VIDEO_PATH "/home/cgnb/TheNewBegging/testArmor.mp4" // using video
//===========================================================================//
//===========================================================================//
// Image debug options
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
//#define SHOW_SRCIMG // show src
//#define SHOW_SRCBINARY // show binary
//#define SHOW_LIGHTS // show light
#define SHOW_ARMORS // show armors
//#define SHOW_ARMORNUM // show armor number
//#define TEXT_LIGHTS // light info
//#define TEXT_ARMORS // armors info
//#define TEXT_SCORES // impact info
#define SHOW_ANGLE // show angle result
//#define TEXT_TVEC // tVec info
//#define TEXT_P4P // P4P solver info
//#define TEXT_PINHOLE // PinHole solver info
//#define TEXT_COMPENSATION // compensation info
//#define TEXT_CAMERA_PARAMS // camera params info
//#define SHOW_PREDICT // show predict info
//#define TEXT_FPS // fps info
//#define SHOW_PLOT // show motion detection in plot
//#define TEXT_ISRECEIVE // whether to receive serial port
//===========================================================================//
//===========================================================================//
// Function options
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
//#define WAIT_RECEIVE // wait serial port to receive data
//#define KALMAN // whether to open kalman
//#define REFLECTION_LIGHT // whether to delete reflection light, only valid for one car
//===========================================================================//