Skip to content

Commit aa39a9f

Browse files
committed
Add some notes
1 parent 4729345 commit aa39a9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example/ZMQ/zmq_main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@ using namespace infinite_sense;
33
int main() {
44
Synchronizer synchronizer;
55
/*
6+
使用网口连接
67
synchronizer.SetNetLink("192.168.1.188", 8888);
78
*/
9+
// 使用USB连接
810
synchronizer.SetSerialLink("/dev/ttyACM0", 460800);
911
/*
1012
使用工业相机系列
1113
std::map<std::string, TriggerDevice> params;
1214
params["camera_1"] = TriggerDevice::CAM_1; //camera_1:表示设备的名称,TriggerDevice::CAM_1:使用同步板CAM_1端口触发
1315
synchronizer.UseMvCam(params);
1416
*/
17+
1518
// 开启同步
1619
synchronizer.Start();
1720
Synchronizer::PrintSummary();

0 commit comments

Comments
 (0)