You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+183Lines changed: 183 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -329,6 +329,189 @@ For more infomation about the HAP config, please refer to:
329
329
}
330
330
]
331
331
}
332
+
```
333
+
3. when multiple nics on the host connect to multiple LiDARs, you need to add objects corresponding to different LiDARs to the lidar_configs array. Run different luanch files separately, and the following is an example of mixing lidar configuration file contents:
334
+
335
+
**MID360_config1:**
336
+
```json
337
+
{
338
+
"lidar_summary_info" : {
339
+
"lidar_type": 8# protocol type index,please don't revise this value
340
+
},
341
+
"MID360": {
342
+
"lidar_net_info": {
343
+
"cmd_data_port": 56100, # command port
344
+
"push_msg_port": 56200,
345
+
"point_data_port": 56300,
346
+
"imu_data_port": 56400,
347
+
"log_data_port": 56500
348
+
},
349
+
"host_net_info": [
350
+
{
351
+
"lidar_ip": ["192.168.1.100"], # Lidar ip
352
+
"host_ip": "192.168.1.5", # host ip
353
+
"cmd_data_port": 56101,
354
+
"push_msg_port": 56201,
355
+
"point_data_port": 56301,
356
+
"imu_data_port": 56401,
357
+
"log_data_port": 56501
358
+
}
359
+
]
360
+
},
361
+
"lidar_configs": [
362
+
{
363
+
"ip": "192.168.1.100", # ip of the LiDAR you want to config
364
+
"pcl_data_type": 1,
365
+
"pattern_mode": 0,
366
+
"extrinsic_parameter": {
367
+
"roll": 0.0,
368
+
"pitch": 0.0,
369
+
"yaw": 0.0,
370
+
"x": 0,
371
+
"y": 0,
372
+
"z": 0
373
+
}
374
+
}
375
+
]
376
+
}
377
+
```
378
+
**MID360_config2:**
379
+
```json
380
+
{
381
+
"lidar_summary_info" : {
382
+
"lidar_type": 8# protocol type index,please don't revise this value
383
+
},
384
+
"MID360": {
385
+
"lidar_net_info": {
386
+
"cmd_data_port": 56100, # command port
387
+
"push_msg_port": 56200,
388
+
"point_data_port": 56300,
389
+
"imu_data_port": 56400,
390
+
"log_data_port": 56500
391
+
},
392
+
"host_net_info": [
393
+
{
394
+
"lidar_ip": ["192.168.2.100"], # Lidar ip
395
+
"host_ip": "192.168.2.5", # host ip
396
+
"cmd_data_port": 56101,
397
+
"push_msg_port": 56201,
398
+
"point_data_port": 56301,
399
+
"imu_data_port": 56401,
400
+
"log_data_port": 56501
401
+
}
402
+
]
403
+
},
404
+
"lidar_configs": [
405
+
{
406
+
"ip": "192.168.2.100", # ip of the LiDAR you want to config
0 commit comments