So I came across this awesome Camera Gimbal which can be used to stabilize the camera for better video quality. You can Check out the video here : https://www.youtube.com/watch?v=s_P69RGeLrM
Now I understand that the Gimbal uses a gyroscope to calculate the shakes and rotates the motors in the reverse direction to stabilize it.
But what is the actual algorithm behind it? Does it use PID? If so, How can it be implemented using a microcontroller?
I apologize if it sounds like a stupid question but I’m a noob.
Any help is much appreciated.