Stabilizing Platform

After creating my 6-Dof Platform I decided that I wanted to take it another step further. After buying a triple-axis accelerator I attached it to the bottom of my platform and wired it into the Arduino that controlled the servos. At first the movement was very choppy but it was leveling out to an extent. After a bit of looking into the problem for a bit I decided that I would try to utilize a PID controller instead of just hard coding the movement. Using a PID Library made for Arduino that I found online I started to implement it into my platform. It took a bit of time to figure out how a PID controller worked but eventually I got it to work in tandem with the sensor and platform. From there on it was just trying to fine tune the parameters to prevent any oscillation and get a smooth motion.