|
@@ -194,11 +194,17 @@ bool select_point_object::select_solution(const std::vector<point> &vp,const sit
|
|
|
//
|
|
|
//std_info("revise_by_history:::%llu",m_d(0).m_time);
|
|
|
bool fg=revise_by_history(pt,sit,m_d(0).m_time);
|
|
|
+ if(!fg)
|
|
|
+ {
|
|
|
+ log_warn("out of site path:t=%ld,sit=%d,card_id=%d,ct=%d,tof1=%d,tof2=%d,pt=(%f,%f)\n", m_d(0).m_time, m_d(0).m_sid,m_d(0).m_cid,m_d(0).m_ct, m_d(0).m_tof[0], m_d(0).m_tof[1], pt.x, pt.y);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
if(!card_path::inst().is_at_path(pt))
|
|
|
{
|
|
|
m_d(0).set_cl(0);
|
|
|
|
|
|
- log_info("out of path:t=%ld,sit=%d,card_id=%d,ct=%d,tof1=%d,tof2=%d,pt=(%f,%f)\n", m_d(0).m_time, m_d(0).m_sid,m_d(0).m_cid,m_d(0).m_ct, m_d(0).m_tof[0], m_d(0).m_tof[1], pt.x, pt.y);
|
|
|
+ log_warn("out of path:t=%ld,sit=%d,card_id=%d,ct=%d,tof1=%d,tof2=%d,pt=(%f,%f)\n", m_d(0).m_time, m_d(0).m_sid,m_d(0).m_cid,m_d(0).m_ct, m_d(0).m_tof[0], m_d(0).m_tof[1], pt.x, pt.y);
|
|
|
return false;
|
|
|
}
|
|
|
|