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

servo.py should be recoded if used for Pi Car-B #2

Open
bluesailor45 opened this issue Jan 11, 2021 · 5 comments
Open

servo.py should be recoded if used for Pi Car-B #2

bluesailor45 opened this issue Jan 11, 2021 · 5 comments

Comments

@bluesailor45
Copy link

Issues:
probably NOT usable for Pi Car-B: should be indicated and corrected

  1. pwm Values for wheel motor and camera motor are hardcoded in code - values should be get from file "set.txt"
  2. turn_left, turn_right functions does not work correct
  3. function look_left(speed) and anlog functions: speed is actually only increment value
@WilliamWalkerMercier
Copy link

WilliamWalkerMercier commented May 8, 2023

How do you correct turn_left turn_right ?

@adeept
Copy link
Owner

adeept commented May 9, 2023

The WEB control interface requires the Raspberry Pi to run the webSever.py program. webServer.py will call the RPiservo.py program to control the servo.
" turn_left , turn_right " is used for server.py program, but server.py program is not recommended. It is more recommended to use the webServer.py program.

@WilliamWalkerMercier
Copy link

how do i use turn_left turn_right with the web server program ? do i have to change a call ?

@adeept
Copy link
Owner

adeept commented May 10, 2023 via email

@WilliamWalkerMercier
Copy link

WilliamWalkerMercier commented May 11, 2023 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