Freenove / Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi

Apply to FNK0043
Other
133 stars 148 forks source link

Client->Main.py-> find_face: float values passed to self.HSlider_Servo1.setValue instead of int #49

Closed xmayeur closed 5 months ago

xmayeur commented 6 months ago

Please convert to int() lines 800-801 in find_Face as follows to avoid error and program to stop: delta_degree_x = int(4 offset_x) delta_degree_y = int(-4 offset_y)

Shaynee-MO commented 6 months ago

Hi! Many thanks for the feedback. We have updated the code. You can download the latest one.