|
@@ -348,12 +348,12 @@ void GetLidarObj_nms(std::vector<BBOX3D> &predResult,iv::lidar::objectarray & li
|
|
|
|
|
|
std::cout<<"obstacle id is: "<<idx<<std::endl;
|
|
|
std::cout<<"obstacle score is: "<<result.score<<std::endl;
|
|
|
- std::cout<<"(x,y,z,dx,dy,dz,yaw,class)=("<<result.x<<","<<result.y<<","<<result.z<<","
|
|
|
- <<result.w<<","<<result.l<<","<<result.h<<","<<result.theta<<","<<labels[result.cls]<<")"<<std::endl;
|
|
|
+ std::cout<<"(x,y,z,dx,dy,dz,yaw,class)=("<<-result.y<<","<<result.x<<","<<result.z<<","
|
|
|
+ <<result.l<<","<<result.w<<","<<result.h<<","<<-result.theta<<","<<labels[result.cls]<<")"<<std::endl;
|
|
|
|
|
|
givlog->verbose("obstacle id is: %d",idx);
|
|
|
- givlog->verbose("(x,y,z,dx,dy,dz,yaw,class)=(%f,%f,%f,%f,%f,%f,%f,%s)",result.x,result.y,result.z,
|
|
|
- result.w,result.l,result.h,result.theta,labels[result.cls]);
|
|
|
+ givlog->verbose("(x,y,z,dx,dy,dz,yaw,class)=(%f,%f,%f,%f,%f,%f,%f,%s)",-result.y,result.x,result.z,
|
|
|
+ result.l,result.w,result.h,-result.theta,labels[result.cls]);
|
|
|
|
|
|
|
|
|
iv::lidar::PointXYZ centroid;
|