提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 260611 |
|
8 |
* @description 事件类型 EVENT_IVS_COLLISION_CONFLICT (碰撞冲突事件)对应的数据块描述信息 |
|
9 |
* @date 2023/02/21 14:39:29 |
|
10 |
*/ |
|
11 |
public class NET_DEV_EVENT_COLLISION_CONFLICT_INFO extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 通道号 |
|
14 |
*/ |
|
15 |
public int nChannelID; |
|
16 |
/** |
|
17 |
* 0:脉冲,1:开始, 2:停止 |
|
18 |
*/ |
|
19 |
public int nAction; |
|
20 |
/** |
|
21 |
* 扩展协议字段 |
|
22 |
*/ |
|
23 |
public NET_EVENT_INFO_EXTEND stuEventInfoEx = new NET_EVENT_INFO_EXTEND(); |
|
24 |
/** |
|
25 |
* 事件名称 |
|
26 |
*/ |
|
27 |
public byte[] szName = new byte[128]; |
|
28 |
/** |
|
29 |
* 事件发生的时间 |
|
30 |
*/ |
|
31 |
public NET_TIME_EX stuUTC = new NET_TIME_EX(); |
|
32 |
/** |
|
33 |
* 事件编号,用来唯一标志一个事件 |
|
34 |
*/ |
|
35 |
public int nEventID; |
|
36 |
/** |
|
37 |
* 碰撞位置 |
|
38 |
*/ |
|
39 |
public NET_3DFLOAT_POINT stuPosition = new NET_3DFLOAT_POINT(); |
|
40 |
/** |
|
41 |
* 碰撞点GPS坐标 |
|
42 |
*/ |
|
43 |
public NET_GPS_POSITION stuGPSPosition = new NET_GPS_POSITION(); |
|
44 |
/** |
|
45 |
* 参与碰撞的目标信息 |
|
46 |
*/ |
|
47 |
public NET_VEHICLE_FUSED_OBJECT[] stuObjects = new NET_VEHICLE_FUSED_OBJECT[4]; |
|
48 |
/** |
|
49 |
* 参与碰撞的目标个数 |
|
50 |
*/ |
|
51 |
public int nObjectsCount; |
|
52 |
/** |
|
53 |
* 碰撞剩余时间TTC,单位s,0表示已经碰撞 |
|
54 |
*/ |
|
55 |
public int nLeftTime; |
|
56 |
/** |
|
57 |
* 碰撞类型: 0-未知 1-交叉 2-追尾 3-合流 |
|
58 |
*/ |
|
59 |
public int nType; |
|
60 |
/** |
|
61 |
* 冲突程度,取值范围0-1,值越大越严重,<=0.5一般冲突, >0.5严重冲突 |
|
62 |
*/ |
|
63 |
public float fConflictLevel; |
|
64 |
/** |
|
65 |
* 置信度 |
|
66 |
*/ |
|
67 |
public float fConfidence; |
|
68 |
/** |
|
69 |
* 预留字节 |
|
70 |
*/ |
|
71 |
public byte[] szReserved = new byte[1020]; |
|
72 |
|
|
73 |
public NET_DEV_EVENT_COLLISION_CONFLICT_INFO() { |
|
74 |
for (int i = 0; i < stuObjects.length; i++) { |
|
75 |
stuObjects[i] = new NET_VEHICLE_FUSED_OBJECT(); |
|
76 |
} |
|
77 |
} |
|
78 |
} |