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