Commit 81e946c9 authored by oscar's avatar oscar

update show text message

parent 910017d9
......@@ -470,7 +470,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
else if(input_obj.data_source >= 10)
mergeText = "R";
char str[512] = {};
sprintf(str, "%lld:%.2f:%s",iter.first,linear.x,mergeText.c_str());
sprintf(str, "%lld:%4.2f:%s",iter.first,linear.x,mergeText.c_str());
// 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);
markerText.text = str;
......
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