I started a project with servos, making a crude robotic arm, with two servos. the issue is, that my servo keeps jittering when stationary, sometimes too much, and can cause the thing to fall over. Also, whenever i enter an angle for the servo to turn to ( using GPIOZERO library ) it doesnt seem to turn the full way. for example, when i enter 90 degrees, the server seems to stick around 70 degrees. the servos are attached parallel to the floor, and when not powered, i can manually move them which shows that they can turn more than they are. Here is the code below.
from gpiozero import AngularServo
from time import sleep
joint_base = AngularServo(14, min_angle=-90, max_angle=90)
joint_top = AngularServo(15, min_angle=-90, max_angle=90)
angle_base = 0
angle_top = 0
while True:
angle = int(input())
angle_base = angle
joint_base.angle = angle_base
angle_top = 90-angle_base
joint_top.angle = angle_top
print(angle, angle_base, angle_top)