Commit f3efaecb authored by oscar's avatar oscar

提价代码

parent 959b6ad1
......@@ -144,7 +144,8 @@ void TrackingRos::ThreadTrackingProcess()
float gx = 0.0f;
float gy = 0.0f;
CalculateGuassPos(obj.x, obj.y, obj.z, m_trans, gx, gy);
jfx::Array gpos = {gy,gx};
SDK_LOG(SDK_INFO, "CalculateGuassPos x = %f,y = %f, gx = %f, gy = %f",obj.x,obj.y,gx,gy);
jfx::Array gpos = {gx,gy};
jfx::Array pos = jfx::Inverse(gpos);
obj.Lat = pos[0];
obj.Long = pos[1];
......
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