Commit 8c57ae11 authored by oscar's avatar oscar

update

parent 10276c8d
......@@ -65,7 +65,7 @@ void Track3DEx::UpdateDataCheck(const std::vector<float>& data, std::vector<floa
rot_y += _PI_;
}
}
else if (dataSource > 1 && m_points.size() >= 5 )
else if (dataSource > 1 && m_points.size() >= 5 && m_points[4].x < 80)
{
if ((abs(m_points[4].x - m_points[0].x) > 0.5 || abs(m_points[4].y - m_points[0].y) > 0.5))//5个点首尾有距离差才计算方向
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment