mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-27 03:17:06 -07:00
fix name error
This commit is contained in:
parent
cb7904af3a
commit
7222e7dac5
|
@ -142,7 +142,7 @@ def control_thread():
|
||||||
line_position = 0
|
line_position = 0
|
||||||
|
|
||||||
# Calculate output
|
# Calculate output
|
||||||
new_c += fir_taps[0] * error
|
new_c += fir_taps[0] * line_position
|
||||||
motor_speed += new_c
|
motor_speed += new_c
|
||||||
|
|
||||||
# Update motors
|
# Update motors
|
||||||
|
|
Loading…
Reference in New Issue
Block a user