bug in draw_database_object.py? [closed]

asked 2011-11-27 07:41:17 -0600

vincent gravatar image

updated 2011-11-27 07:42:35 -0600


Can someone explain this line in draw_database_object.py from grasp_plaype package.

rospy.loginfo("model_id malformed: %s"%self.object_name)

I didn't find "object_name" declared in the code.

Is this a bug? Following is a snippet of the code.

model_id = 18800  #contact lens cleanser bottle
while(not rospy.is_shutdown()):
    rospy.loginfo("Enter the model id of the next object, or enter to draw again")
    model_id_str = raw_input()
    if model_id_str != '':
            model_id = int(model_id_str)
            print "model_id:", model_id
            rospy.loginfo("model_id malformed: %s"%self.object_name)
    print "drawing mesh in base_footprint frame"
    draw_database_object.draw_database_object_mesh(model_id, pose_stamped)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-02-03 07:42:09