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

road following lane keeping settings, left<->right mix up #139

Open
MaxKru opened this issue Jan 10, 2023 · 0 comments
Open

road following lane keeping settings, left<->right mix up #139

MaxKru opened this issue Jan 10, 2023 · 0 comments

Comments

@MaxKru
Copy link

MaxKru commented Jan 10, 2023

Hi,
the basic motion left right steering is mixed
"You can adjust these values calibrate the car so that setting a value of 0 moves forward, and setting a value of 1 goes fully right, and -1 fully left."
when i try the 1,-1 settings 1 corresponds to left and -1 corresponds to right, at the time i didnt pay attention to this faulty behaviour, now, the road following notebook is where the previous faulty behaviour was noticed, when i try to let the car drive, it would always steer to the opposite direction, i fixed it by changing the code to
"car.steering = x * (-STEERING_GAIN +STEERING_BIAS)"
this is how i accomplished my best results.
org:"car.steering = x * STEERING_GAIN + STEERING_BIAS"
now to my question, how could i trouble shoot the problem?
i checked the cables and all connections, there was no obvious problem/mistake
i also re-etched the sd card to start on a completly blank plate.
could there be some transmitter issue?

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

1 participant