Freenove / Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi

Apply to FNK0043
Other
133 stars 148 forks source link

Bad cabling #2

Closed lustoerk closed 4 years ago

lustoerk commented 4 years ago

The internal wheel cabling is broken. When it tries to go forward, the front right and bottom left wheel will turn the wrong way. Is there any way i can edit the code, so the scripts know to turn these wheels the other way?

lustoerk commented 4 years ago

This wasn't so hard: i just had to put a minus infront of the duty values for duty2 & duty3 at line 72 in Motor.py. The app seems to use the same scripts, so this works for it as well.