Skip to content

Commit

Permalink
fixed msgs iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
jupidity committed Aug 5, 2017
1 parent b74269e commit ba4895f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/marker_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ def pcl_callback(pcl_msg):
detected_objects_labels.append(label)

# Publish a label into RViz
label_pos = list(white_cloud[pts_list[0]])
label_pos = list(cloud.data[0])
label_pos[2] += .4
object_markers_pub.publish(make_label(label,label_pos, index))


# Add the detected object to the list of detected objects.
do = DetectedObject()
do.label = label
Expand Down

0 comments on commit ba4895f

Please sign in to comment.