Commit 12f65d27 authored by oscar's avatar oscar

修改float

parent 83312f8e
......@@ -136,7 +136,7 @@ void Track3D::Predict()
interval = m_obj->frame - m_lastLastTimestamp;
if(m_obj)
m_lastLastTimestamp = m_obj->frame;
float v_rate = interval / 100;
float v_rate = (float)interval / 100;
if (v_rate > 1.5 || v_rate < 0.5)
{
SDK_LOG(SDK_INFO, "predict time error, v_rate = %f, interval = %llu",v_rate,interval);
......
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