View: 137|Reply: 1

Picar-B Horizontal Servo turns over the dead end

[Copy link]

1

Threads

1

Posts

9

Credits

Newbie

Rank: 1

Credits
9
Post time 2020-4-8 05:03:39 | Show all posts |Read mode
Hi,

Today I installed all parts and SW.
I calibrated the Servos Manualy and in the GUI.py, but when I hit the RadarScan, Picar first turns left, is Scanning from left to right
and way to far to the right direction.
Than his default 'head position' is around 20° of.

I have to turn of the PI, recalibrate the Servo, turn it on again.

Is it: elecrtical or configurations?



Reply

Use magic Report

0

Threads

5

Posts

21

Credits

Newbie

Rank: 1

Credits
21
Post time 2020-4-8 18:22:24 | Show all posts
Hello

you can modify in servo.py . change the four values and you can adjust the direction.
pwm1_init = 300
pwm1_range = 150
pwm1_max  = 450
pwm1_min  = 150
pwm1_pos  = pwm1_init
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules