Open rpifun opened 5 years ago
Hi, I have exactly the same issue. In fact, I went through multiple source code files and it doesn't seem that the config file is loaded up anywhere. I then adjusted some information in the servo_install function under the init.py, hoping to fix the issue myself, but those were not even picked up after running the picar command. Not even print statements, as if the whole functions are being run from different folder. Any fix for this?
ok, I've figured that out - SunFounder have a mistake in their instruction. The turning offset has nothing to do with servo-install, but rather how front wheels are initialized. Once you adjust the turning offset, run the front wheel test and then the servo location will change. Slightly misleading - took me around an hour of playing around with scripts before finally figuring that out. I've learnt a lot in general, but it could have been easily avoided
I tried setting the turning_offset
to 110 and it worked for me. Also, I had to reverse both forward_A
and forward_B
to 0 to work.
Hello,
Thank you for contact us. Regarding your concern, please note that the default rotation orders are random, if 0 stands for forwards, then 1 stands for backwards.
Hope it helps you. Have a nice day!
Best regards, Sunfounder Support Team
From: Tony (Tao) Tong Date: 2019-02-11 12:16 To: sunfounder/SunFounder_PiCar CC: Subscribed Subject: Re: [sunfounder/SunFounder_PiCar] config turning_offset - not responding (#4) I tried setting the turning_offset to 110 and it worked for me. Also, I had to reverse both forward_A and forward_B to 0 to work. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I have a problem making the calibration - turning offset of the front wheels.
I edit config file. PiCar is responding corretly for change of forward_A and forward_B, but modifing turning_offset doesn't give any efect.
I tried to change the "default" values for fixed, but it also have not worked out. Thanks for help.