Script execution
This commit is contained in:
@@ -234,7 +234,7 @@ def plot_base_plate(points = None, show_detect = True, title = None):
|
||||
if puck.detect == DET_UNIPUCK:
|
||||
c,w = Color.BLACK,1
|
||||
elif puck.detect == DET_MINISPINE:
|
||||
c,w = Color.DARK_GRAY,1
|
||||
c,w = Color(150, 100, 50),1
|
||||
elif puck.detect == DET_ERROR:
|
||||
c = Color(128,0,0)
|
||||
plot_circle(p, xm, ym, PUCK_SIZE/2, width = w, color = c , name = str(puck.id))
|
||||
@@ -248,5 +248,7 @@ def plot_base_plate(points = None, show_detect = True, title = None):
|
||||
c = Color.DARK_GRAY if match == "minispine" else Color.BLACK
|
||||
|
||||
|
||||
plot_cross(p,point[0], point[1], size = 10, width = w, color = c, name = "P"+ str(points.index(point)))
|
||||
plot_cross(p,point[0], point[1], size = 12, width = w, color = c, name = "P"+ str(points.index(point)))
|
||||
#plot_point(p,point[0], point[1], size = 5, color = Color.BLACK, name = "Pc"+ str(points.index(point)))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user