Commit af6f6dbb authored by oscar's avatar oscar

经纬度位置错误

parent bd2e078f
......@@ -455,8 +455,8 @@ void TrackingRos::ThreadTrackingProcess()
//SDK_LOG(SDK_INFO, "CalculateGuassPos x = %f,y = %f, gx = %f, gy = %f,prob = %f",obj.x,obj.y,gx,gy,iter.second->GetProb());
jfx::Array gpos = {gx,gy};
jfx::Array pos = jfx::Inverse(gpos);
obj.Lat = pos[0];
obj.Long = pos[1];
obj.Long = pos[0];
obj.Lat = pos[1];
//SDK_LOG(SDK_INFO, "lat = %.10f, lon = %.10f",obj.Lat,obj.Long);
}
if(iter.second->m_obj)
......
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