Commit e7f5d30d authored by oscar's avatar oscar

修改坐标错误

parent 076a5525
......@@ -457,8 +457,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.Long = pos[0];
obj.Lat = pos[1];
obj.Lat = pos[0];
obj.Long = 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