Commit d1972dec authored by oscar's avatar oscar

提交测试

parent 83324e1d
......@@ -58,7 +58,10 @@ void TrackingRos::Init(ros::NodeHandle& nh)
float* f = mat.data();
SDK_LOG(SDK_INFO, "data = %f,%f,%f,%f",f[0],f[1],f[2],f[3]);
float m[4];
memcpy(m, f, sizeof(float) * 4);
SDK_LOG(SDK_INFO, "data = %f,%f,%f,%f", m[0], m[1], m[2], m[3]);
}
......
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