mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2025-01-29 11:07:40 -07:00
enable motors
This commit is contained in:
parent
a7b55f37f1
commit
e8dabfc069
|
@ -124,8 +124,8 @@ def controller():
|
|||
motor_speed += steering_sign * new_c
|
||||
|
||||
# Update motors
|
||||
# for ii in range(3):
|
||||
# servos[ii].throttle = motor_speed[ii]
|
||||
for ii in range(3):
|
||||
servos[ii].throttle = motor_speed[ii]
|
||||
|
||||
# Log data
|
||||
new_time_data = [[this_time, line_position, new_c]]
|
||||
|
|
Loading…
Reference in New Issue
Block a user