소스 검색

完善代码,若预测坐标成功,则在一维定位时加上第一径修订模块,软件版本保持不变

zhoutao 3 일 전
부모
커밋
573dabd6e3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/modules/location/lct_coordcal.c

+ 2 - 0
src/modules/location/lct_coordcal.c

@@ -130,8 +130,10 @@ void lct_coordcal_main(PUB_LCT_BTS_LIST_T *pstLctBtsList, PUB_LOCATION_DATA_T *p
 
         ////一维定位
         // 计算径
+        lct_coordcal_check_valid_bts_by_move_direction(CAL_PATH, pstFirstPathDataList, byFirstPathDataListLen, pstLctDataList, &stAheadPointCoord, byChangeXY, gLct_byDirectionX, gLct_byDirectionY, &byValidCalPathBtsListLen);
         lct_coordcal_one_dimension_location(pstLctDataList, byPredictionFlag, stPredictionCoord, pstFirstPathDataList, byFirstPathDataListLen, CAL_PATH, &stMinmumValueGroup);
         // 跟踪径
+        lct_coordcal_check_valid_bts_by_move_direction(TRACK_PATH, pstFirstPathDataList, byFirstPathDataListLen, pstLctDataList, &stAheadPointCoord, byChangeXY, gLct_byDirectionX, gLct_byDirectionY, &byValidCalPathBtsListLen);
         lct_coordcal_one_dimension_location(pstLctDataList, byPredictionFlag, stPredictionCoord, pstFirstPathDataList, byFirstPathDataListLen, TRACK_PATH, &stMinmumValueGroup);
 
         ////二维定位