|
@@ -1,8 +1,8 @@
|
|
|
package main
|
|
|
|
|
|
import (
|
|
|
- "cicv-data-closedloop/common/entity"
|
|
|
"cicv-data-closedloop/pjisuv_msgs"
|
|
|
+ "cicv-data-closedloop/pjisuv_param"
|
|
|
"math"
|
|
|
"reflect"
|
|
|
)
|
|
@@ -31,7 +31,7 @@ func Label() string {
|
|
|
return "perceptionspeeddiffer"
|
|
|
}
|
|
|
|
|
|
-func Rule(data *pjisuv_msgs.PerceptionObjects, param entity.PjisuvParam) string {
|
|
|
+func Rule(data *pjisuv_msgs.PerceptionObjects, param pjisuv_param.PjisuvParam) string {
|
|
|
for _, obj := range data.Objs {
|
|
|
if len(param.ObjSpeedDicOfTpperception) != 0 {
|
|
|
if ContainsElement(param.ObjSpeedDicOfTpperception, obj.Id) {
|