使用真实gis数据
This commit is contained in:
parent
ee275f3868
commit
9e36afb133
8
AGENTS.md
Normal file
8
AGENTS.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
### 注意事项
|
||||||
|
一定要注意文件编码问题,有可能会引起字符错乱
|
||||||
|
这是后端项目,前端系统不在这个项目里
|
||||||
|
|
||||||
|
### 项目运行环境
|
||||||
|
这是开发环境,运行环境在centos7的容器里,分别为
|
||||||
|
qaup-app
|
||||||
|
qaup-redis
|
||||||
@ -39,6 +39,8 @@ mem_fragmentation_ratio:1.36
|
|||||||
mem_clients_normal:5146661
|
mem_clients_normal:5146661
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
iptables -Zcat /proc/sys/net/netfilter/nf_conntrack_max
|
||||||
/home/project_20250804/qaup/adxp-adapter
|
/home/project_20250804/qaup/adxp-adapter
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -490,16 +490,19 @@ public class WebSocketMessageBroadcaster {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (state.aircraftReacquireCount < AIRCRAFT_REACQUIRE_CONFIRM_POINTS) {
|
if (state.aircraftReacquireCount < AIRCRAFT_REACQUIRE_CONFIRM_POINTS) {
|
||||||
logDroppedPosition(
|
// During reacquire confirmation, keep moving with a bounded step instead of freezing.
|
||||||
"aircraft_outlier_hold",
|
double holdStepLimit = Math.max(maxAllowedJump, adaptive.jitterMeter() * 2.0);
|
||||||
payload,
|
if (rawDistance > holdStepLimit) {
|
||||||
rawLatitude,
|
double ratio = holdStepLimit / rawDistance;
|
||||||
rawLongitude,
|
filteredLatitude = state.lastFilteredLatitude + ratio * (latitude - state.lastFilteredLatitude);
|
||||||
String.format("jumpMeter=%.3f,allowedMeter=%.3f,confirm=%d/%d",
|
filteredLongitude = state.lastFilteredLongitude + ratio * (longitude - state.lastFilteredLongitude);
|
||||||
rawDistance, maxAllowedJump, state.aircraftReacquireCount, AIRCRAFT_REACQUIRE_CONFIRM_POINTS)
|
} else {
|
||||||
);
|
filteredLatitude = latitude;
|
||||||
filteredLatitude = state.lastFilteredLatitude;
|
filteredLongitude = longitude;
|
||||||
filteredLongitude = state.lastFilteredLongitude;
|
}
|
||||||
|
log.warn("[TMP-POS-FIX] reason=aircraft_outlier_blend objectId={} rawLatitude={} rawLongitude={} jumpMeter={} stepMeter={} confirm={}/{}",
|
||||||
|
safeObjectId(payload), rawLatitude, rawLongitude, rawDistance, holdStepLimit,
|
||||||
|
state.aircraftReacquireCount, AIRCRAFT_REACQUIRE_CONFIRM_POINTS);
|
||||||
} else {
|
} else {
|
||||||
state.aircraftPendingReacquire = false;
|
state.aircraftPendingReacquire = false;
|
||||||
state.aircraftReacquireCount = 0;
|
state.aircraftReacquireCount = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user