Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
p x
earlywarning
Commits
0d2b8bf5
Commit
0d2b8bf5
authored
Aug 18, 2025
by
p x
Browse files
333
parent
630ecf68
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/cusc/adas/v2x/clouddecision/dto/PathPathDto.java
View file @
0d2b8bf5
...
...
@@ -11,7 +11,7 @@ public class PathPathDto {
// 分段编号长度
private
short
pathIdLen
;
//分段编号
private
String
pathId
;
private
short
pathId
;
//关联 GNSS 点 数量
private
short
pointsNum
;
//关联 GNSS 点 位置
...
...
src/main/java/com/cusc/adas/v2x/clouddecision/dto/RoutePlanDto.java
View file @
0d2b8bf5
...
...
@@ -12,8 +12,8 @@ public class RoutePlanDto {
// 事件唯一标识
private
String
uuid
;
//事件生成时间
戳
private
Stri
ng
timestamp
;
//事件生成时间戳
private
lo
ng
timestamp
;
//告警类型 固定值为 6601,用于匹配 RSI
private
int
alertType
;
//路线长度
...
...
src/main/java/com/cusc/adas/v2x/clouddecision/vo/PathPath.java
View file @
0d2b8bf5
package
com.cusc.adas.v2x.clouddecision.vo
;
import
com.cusc.adas.v2x.utils.FieldDef
;
import
com.cusc.adas.v2x.utils.Order
;
import
com.cusc.adas.v2x.vo.Position2D
;
...
...
@@ -12,7 +13,8 @@ public class PathPath {
private
short
pathIdLen
;
//分段编号
@Order
(
2
)
private
String
pathId
;
// @FieldDef(type = "BYTE", isArray = true, length = 1)
private
short
pathId
;
//关联 GNSS 点 数量
@Order
(
3
)
private
short
pointsNum
;
...
...
@@ -28,7 +30,7 @@ public class PathPath {
//分段名称
@Order
(
7
)
private
String
pathName
;
//分段类型
,0:常规路段;
1:路口内连接路段,0xFF 表示缺
省 2=红色 3=绿色
//分段类型 1:路口内连接路段,0xFF 表示缺省 2=红色 3=绿色
4=感知车(画感知车)
@Order
(
7
)
private
short
pathType
;
...
...
src/main/java/com/cusc/adas/v2x/clouddecision/vo/RoutePlan.java
View file @
0d2b8bf5
...
...
@@ -5,6 +5,7 @@ import com.cusc.adas.v2x.utils.DynamicsClassDef;
import
com.cusc.adas.v2x.utils.FieldDef
;
import
com.cusc.adas.v2x.utils.OffsetDef
;
import
com.cusc.adas.v2x.utils.Order
;
import
com.cusc.adas.v2x.utils.RefNumFlag
;
import
com.cusc.adas.v2x.vo.Position2D
;
import
java.util.List
;
...
...
@@ -19,10 +20,10 @@ public class RoutePlan {
@Order
(
1
)
@FieldDef
(
type
=
"BYTE"
,
isArray
=
true
,
length
=
36
)
private
String
uuid
;
//事件生成时间
戳
//事件生成时间戳
@Order
(
2
)
@FieldDef
(
type
=
"TIMESTAMP"
,
isArray
=
false
,
length
=
8
)
private
Stri
ng
timestamp
;
private
lo
ng
timestamp
;
//告警类型 固定值为 6601,用于匹配 RSI
@Order
(
3
)
private
int
alertType
;
...
...
@@ -46,6 +47,7 @@ public class RoutePlan {
private
int
dataLen
;
//长度为 N 个字节,其中 N 为路线规划数据长度,路线规划数据结构内
@Order
(
9
)
@RefNumFlag
(
value
=
"dataLen"
)
private
List
<
PathPath
>
pathList
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment