Commit db98ee5d authored by oscar's avatar oscar

提交更新

parent 48b05f6d
......@@ -814,7 +814,7 @@ void TrackingRos::ThreadTrackingProcess()
t_marker.color.b = 0;
//t_marker.lifetime = rospy.Duration(0.5)
char str[256] = {};
snprintf(str, "id:%llu,type:%d", obj.obj_id, obj.type);
sprintf(str, "id:%llu,type:%d", obj.obj_id, obj.type);
t_marker.text = str;
markerArray.markers.emplace_back(t_marker);
......
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