소스 검색

支持深光slam 有点位

dsx 1 년 전
부모
커밋
41ebe93c4d
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/main/java/com/fdkankan/modeling/service/impl/BuildServiceImpl.java

+ 2 - 3
src/main/java/com/fdkankan/modeling/service/impl/BuildServiceImpl.java

@@ -57,8 +57,8 @@ public class BuildServiceImpl implements IBuildService {
                 log.info("激光转台相机调用算法");
                 log.info("激光转台相机调用算法");
                 skyboxType = "SKYBOX_V11";
                 skyboxType = "SKYBOX_V11";
                 splitType = "SPLIT_V14";
                 splitType = "SPLIT_V14";
-                if(location == 5){//深广相机SLAM拍摄模式
-                    skyboxType = "SKYBOX_V6";
+                if(location == 5 || location == 6){//深广相机SLAM拍摄模式,5:纯slam,6:有点位
+//                    skyboxType = "SKYBOX_V6";
                     splitType = "SPLIT_V25";
                     splitType = "SPLIT_V25";
                 }
                 }
                 if (!ObjectUtils.isEmpty(fdageData)) {
                 if (!ObjectUtils.isEmpty(fdageData)) {
@@ -86,7 +86,6 @@ public class BuildServiceImpl implements IBuildService {
             switch (fdageData.getString("modelType")){
             switch (fdageData.getString("modelType")){
                 case ModelTypeEnums.TILE_CODE:
                 case ModelTypeEnums.TILE_CODE:
                     if(skyboxType.equals("SKYBOX_V6")){
                     if(skyboxType.equals("SKYBOX_V6")){
-
                         skyboxType = "SKYBOX_V14";
                         skyboxType = "SKYBOX_V14";
                     }else if(skyboxType.equals("SKYBOX_V11")){
                     }else if(skyboxType.equals("SKYBOX_V11")){
                         skyboxType = "SKYBOX_V15";
                         skyboxType = "SKYBOX_V15";