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

Code always put out largest steeringAngle #3

Open
Sasti1234 opened this issue Sep 10, 2023 · 0 comments
Open

Code always put out largest steeringAngle #3

Sasti1234 opened this issue Sep 10, 2023 · 0 comments

Comments

@Sasti1234
Copy link

Hello,
I tried to get the code work with the Arduino Pro Mini, but it turned the servo always to the maximum steering angle. So I put the MPU on my Arduino UNO to make the debugging a bit easier. Then I added a print command in the code that puts out the steeringAngle variable just before the servoSteering.write() command. The Code puts always -50 out. When I move the MPU a little bit the value sways for a very short time and then jump back to -50. Have anyone an idea what could be the problem?

Thanks in advance.

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