robotic-grasping
robotic-grasping copied to clipboard
Question about length and width of GraspRectangle
In the file utils/dataset_processing/grasp.py
(line 231), the length
attribute is described as "Rectangle length (i.e. along the axis of the grasp)", and in line 170, this attribute is used to draw the width image width_out[rr, cc] = gr.length
. I wanted to ask if this is just the way the variables are named (the width for the width images is actually the GraspRectangle
's length and not the GraspRectangle
's width) or is there any other reason for this? Thanks in advance for your help and for making the code available.
Apologies for late response. This is just poor naming of the variables. Please feel free to open a pull request to refactor it.