|
@@ -107,9 +107,9 @@ public class BuildObjServiceImpl implements IBuildSceneService {
|
|
public void buildScenePre(BuildSceneCallMessage message) throws Exception{
|
|
public void buildScenePre(BuildSceneCallMessage message) throws Exception{
|
|
boolean success = false;
|
|
boolean success = false;
|
|
String num = message.getSceneNum();
|
|
String num = message.getSceneNum();
|
|
|
|
+ String path = message.getPath();
|
|
|
|
+ String laserObjFilePath = path + "_laser_obj";
|
|
try {
|
|
try {
|
|
- String path = message.getPath();
|
|
|
|
- String laserObjFilePath = path + "_laser_obj";
|
|
|
|
//根据相机类型,组装资源路径
|
|
//根据相机类型,组装资源路径
|
|
log.info("开始准备生成OBJ场景资源,路径:{}", laserObjFilePath);
|
|
log.info("开始准备生成OBJ场景资源,路径:{}", laserObjFilePath);
|
|
|
|
|
|
@@ -154,6 +154,8 @@ public class BuildObjServiceImpl implements IBuildSceneService {
|
|
log.error("生成OBJ场景资源准备异常,num=" + num, e);
|
|
log.error("生成OBJ场景资源准备异常,num=" + num, e);
|
|
buildSceneDTService.handBaseFail("生成OBJ场景资源准备异常", message.getPath(), message.getSceneNum(), "计算控制服务器");
|
|
buildSceneDTService.handBaseFail("生成OBJ场景资源准备异常", message.getPath(), message.getSceneNum(), "计算控制服务器");
|
|
throw e;
|
|
throw e;
|
|
|
|
+ }finally {
|
|
|
|
+ fdkkLaserService.pushBuildStatusToLaserSystem(num, laserObjFilePath + "/laserData/mesh", success ? CommonOperStatus.SUCCESS.code() : CommonOperStatus.FAILD.code());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|