Skip to content

Commit

Permalink
kx bugfix value stuck at None
Browse files Browse the repository at this point in the history
comment out print
  • Loading branch information
kxing28 committed Mar 27, 2024
1 parent ad0c2ec commit 9a52d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sw/core_comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def run50ms(self, scheduler):

# Send an updated version of out_data
out_str = self.toString()
print(out_str)
# print(out_str)
self.connection.write(out_str)

def updateOutData(self, name, val):
Expand Down
2 changes: 1 addition & 1 deletion sw/isolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def __init__(self, name: str, cv: dict):
self.ub = np.array(cv["background-lab-mask-upper"])
self.ksize = cv["background-mask-ksize"]
self.fastener_min_area = cv["fastener-contour-min-area"]
self.N = None
self.N = 0
self.img = None

def spin(self, img):
Expand Down

0 comments on commit 9a52d99

Please sign in to comment.