Commit 3096d851 authored by wangqibing's avatar wangqibing

add cur_systime_rd

parent b7093eca
......@@ -494,6 +494,7 @@ void TrackingRos::ThreadTrackingProcess()
nvtxRangePush("ThreadTrackingProcess");
#endif
uint64_t cur_timestamp = (unsigned long long)objsPtr->cloud.header.stamp.sec * 1000 + (unsigned long long)objsPtr->cloud.header.stamp.nsec * 1e-6;
uint64_t cur_systime_rd = GetCurTime()/1000;
m_frameNum++;
//SDK_LOG(SDK_INFO, "get objs size = %d,m_frameNum = %d",objsPtr->array.size(), m_frameNum);
std::vector< std::vector<float> > input;
......@@ -740,9 +741,9 @@ void TrackingRos::ThreadTrackingProcess()
// obj.type,obj.x, obj.y, obj.z, obj.l, obj.w, obj.h, obj.rot_y, obj.v_x, obj.v_y, obj.v_z, obj.Lat, obj.Long);
}
// frame,type,score,h,w,l,x,y,z,rot_y,obj_id,v_x,v_y,v_z,loc_x,loc_y,loc_z,Lat,Long,center_Lat,center_Long,name,license_plate_number,color_name
// 时间戳(整型),目标类型(整型),置信度(浮点),高度(浮点),宽度(浮点),长度(浮点),中心点局部x坐标(浮点),中心点局部y坐标(浮点),中心点局部z坐标(浮点),航向角(浮点),跟踪ID(整型),速度x(浮点),速度y(浮点),速度z(浮点),定位点x(浮点),定位点y(浮点),定位点z(浮点),定位点纬度(双精度浮点),定位点经度(双精度浮点),中心点纬度(双精度浮点),中心点经度(双精度浮点),名称(字符串,可选),车牌号(字符串,可选),颜色(字符串,可选)
SDK_IDX_LOG(1, SDK_INFO, "%llu,%d,%f,%f,%f,%f,%f,%f,%f,%f,%u,%f,%f,%f,0,0,0,0,0,%.10f,%.10f,%s,%s,%s",
obj.frame,obj.type,obj.score,obj.h,obj.w,obj.l,obj.x,obj.y,obj.z,obj.rot_y,
// 当前系统时间戳(整形),时间戳(整型),目标类型(整型),置信度(浮点),高度(浮点),宽度(浮点),长度(浮点),中心点局部x坐标(浮点),中心点局部y坐标(浮点),中心点局部z坐标(浮点),航向角(浮点),跟踪ID(整型),速度x(浮点),速度y(浮点),速度z(浮点),定位点x(浮点),定位点y(浮点),定位点z(浮点),定位点纬度(双精度浮点),定位点经度(双精度浮点),中心点纬度(双精度浮点),中心点经度(双精度浮点),名称(字符串,可选),车牌号(字符串,可选),颜色(字符串,可选)
SDK_IDX_LOG(1, SDK_INFO, "%llu,%llu,%d,%f,%f,%f,%f,%f,%f,%f,%f,%u,%f,%f,%f,0,0,0,0,0,%.10f,%.10f,%s,%s,%s",
cur_systime_rd,obj.frame,obj.type,obj.score,obj.h,obj.w,obj.l,obj.x,obj.y,obj.z,obj.rot_y,
obj.obj_id,obj.v_x*10,obj.v_y*10,obj.v_z*10,obj.Lat,obj.Long,obj.name.c_str(),obj.license_plate_number.c_str(),obj.color_name.c_str());
jsk_recognition_msgs::BoundingBox box = {};
......
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