From 74dcb57861c309ade1b68bac6a34891377ae839c Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Thu, 30 Nov 2023 09:57:13 +0800 Subject: [PATCH] balise detect --- component/train.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/component/train.go b/component/train.go index 32adaff..d4f49b1 100644 --- a/component/train.go +++ b/component/train.go @@ -52,8 +52,8 @@ type TrainBtm struct { //天线此时是否在应答器上方 AboveBalise bool //列车在运行方向顺序扫描到的应答器 - //避免丢失 - //*TrainBaliseTelegram + //扫描到的应答器报文缓存区 + //当BTM超过150ms即3个周期没有收到atq下发的查询帧,则清空报文缓冲区 scannedBalises *telegramQueue //最近经过的应答器id lastTelegram *TrainBaliseTelegram