Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config turning_offset - not responding #4

Open
rpifun opened this issue Oct 19, 2018 · 4 comments
Open

config turning_offset - not responding #4

rpifun opened this issue Oct 19, 2018 · 4 comments

Comments

@rpifun
Copy link

rpifun commented Oct 19, 2018

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.

@matatusko
Copy link

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?

@matatusko
Copy link

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

@ttong1013
Copy link

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.

@sunfounder
Copy link
Collaborator

sunfounder commented Feb 25, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants