mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2025-08-01 13:31:45 -06:00
fix name error
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user