Commit 151d9f40 authored by oscar's avatar oscar

update

parent bf12f13c
......@@ -420,9 +420,9 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
markerText.color.b = 0.0f;
markerText.color.a = 1.0;
char str[512] = {};
// sprintf(str, "%lld:%.2f",iter.first,linear.x);
sprintf(str, "%lld:%.2f",iter.first,linear.x);
// sprintf(str, "%.1f:%d:%d",cof,iter.first,obj.classification[0].label);
sprintf(str, "%.2f:%d:%.2f:%.2f",cof,obj.classification[0].label,poss.y,poss.x);
// sprintf(str, "%.2f:%d:%.2f:%.2f",cof,obj.classification[0].label,poss.y,poss.x);
markerText.text = str;
makerTextArray.markers.emplace_back(markerText);
RCLCPP_INFO(this->get_logger(),"tracking obj info id = %lld, label = %d,cof = %.2f,pos = [%.2f,%.2f,%.2f],linear = [%.2f,%.2f]",
......
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