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

Front Wheels not moving. Back wheels work fine #38

Open
Surbhimangla opened this issue Oct 13, 2019 · 6 comments
Open

Front Wheels not moving. Back wheels work fine #38

Surbhimangla opened this issue Oct 13, 2019 · 6 comments

Comments

@Surbhimangla
Copy link

Hi

I just assembled the PiCar S and installed the software. When i run " picar front-wheel-test" nothing happens. However, the back wheels are mving with the command "picar rear-wheel-test". Please help

@selvadurai
Copy link

Same here, having the same issue.

@axi0m
Copy link

axi0m commented Nov 23, 2020

I have an issue with both front and rear wheels not functioning.

Updates to my issue here: #53

I have since restored mechanical functionality to front and back wheels as long as I have DC power supplied to the PCA9685 controller.

@hannesa2
Copy link
Contributor

hannesa2 commented Jan 3, 2021

Same here, having the same issue.

After $ picar servo-install I see

Servo now is set to 90 degree.

image

Then I start server with cd remote_control/ && sudo ./start

Server running
Performing system checks...

DEBUG "front_wheels.py": Set debug off
DEBUG "front_wheels.py": Set wheel debug off
DEBUG "Servo.py": Set debug off
DEBUG "back_wheels.py": Set debug off
DEBUG "TB6612.py": Set debug off
DEBUG "TB6612.py": Set debug off
DEBUG "PCA9685.py": Set debug off
DEBUG "camera.py": Set debug off
DEBUG "camera.py": Set pan servo and tilt servo debug off
DEBUG "Servo.py": Set debug off
DEBUG "Servo.py": Set debug off
mjpg_streamer -i "/usr/local/lib/input_uvc.so" -o "/usr/local/lib/output_http.so -w /usr/local/www" &
None
System check identified no issues (0 silenced).
January 03, 2021 - 13:47:08
Django version 2.0, using settings 'remote_control.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.

Back wheels are working but front wheels do nothing with Test, A and D. Server receives commands !

image

@axi0m @Surbhimangla @selvadurai
Did you fixed this ?

@hannesa2
Copy link
Contributor

hannesa2 commented Jan 6, 2021

Something works somehow

servoFrontWheel = Servo.Servo(0, bus_number=1)
servoFrontWheel.write(i)

works only for values from 180 (almost strait forward) and 135 (45° to the left)
All values < 135 and > 180 have no affect, and I'm not able to move wheels to the right at all

@hannesa2
Copy link
Contributor

hannesa2 commented Jan 6, 2021

@sunfounder Please can you help to fix this ?

@hannesa2
Copy link
Contributor

hannesa2 commented Jan 10, 2021

I found the reason:
Disable front wheels to have the state https://github.com/sunfounder/SunFounder_PiCar-V/blob/V3.0/docs/(EN)%20PiCar-V%20User%20Manual.pdf p.43
Do picar servo-install this will move your servo the default position, then continue with assemble again.....

Now it works properly

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

4 participants