[add] 3d资源添加(箭头) 根据行驶角度调整箭头角度

This commit is contained in:
liujing
2021-04-16 20:52:30 +08:00
parent a2ef2bbd44
commit 4cdb73b8f4
7 changed files with 11 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ enum AdasRecognizedType {
}
public static AdasRecognizedType[] VAL = {
classIdBackground,
classIdBackground,//0
classIdPerson,
classIdBicycle,
classIdCar,

View File

@@ -229,7 +229,7 @@ class BaseDrawer {
} else if (recognizedType == AdasRecognizedType.classIdStopLine) {
return R.raw.stopline;
} else if (recognizedType == AdasRecognizedType.classIdWarningArrows) {
return R.raw.stopline;
return R.raw.arraw;
}
return R.raw.people;
}

View File

@@ -125,7 +125,7 @@ public class V2XWarnDataDrawer extends BaseDrawer implements IMogoStatusChangedL
return marker;
}
public void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type) {
public void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int period) {
MogoMarkerOptions options = new MogoMarkerOptions()
.latitude(location.getLat())
.longitude(location.getLon());