Commit d7b65bd2 authored by oscar's avatar oscar

提交更新

parent e2e8c3ef
......@@ -812,9 +812,10 @@ void TrackingRos::ThreadTrackingProcess()
t_marker.color.r = 0;
t_marker.color.g = 1.0;
t_marker.color.b = 0;
//t_marker.lifetime = rospy.Duration(0.5)
t_marker.lifetime = ros::Duration(0.5);
char str[256] = {};
sprintf(str, "id:%llu,type:%d", obj.obj_id, obj.type);
int angle_i = int(rot_y_angle / _PI_ * 180);
sprintf(str, "id:%llu,T:%d,YAW:%d", obj.obj_id, obj.type, angle_i);
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