mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-11-09 21:14:47 -07:00
fix appending of data
This commit is contained in:
parent
8924319a01
commit
6096562445
|
@ -115,8 +115,8 @@ def control_thread():
|
||||||
line_position = np.sum((1 - brightness) * (np.arange(8) - 3.5))/np.sum(1-brightness)
|
line_position = np.sum((1 - brightness) * (np.arange(8) - 3.5))/np.sum(1-brightness)
|
||||||
# TODO: implement control stuff and drive outputs
|
# TODO: implement control stuff and drive outputs
|
||||||
|
|
||||||
t = np.concatenate((t, this_time))
|
t = np.append(t, this_time)
|
||||||
error = np.concatenate((error, line_position))
|
error = np.append(error, line_position)
|
||||||
|
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
for b in brightness:
|
for b in brightness:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user