Just new to the forum, arduino and the infinite volume of information about. This is probably a silly question, however I'm having trouble understanding the control of a 2 axis bracket with a 6 dof input using a itg3200 gyro and lis331 accelerometer. Both are connected to the I2C bus and after a few false starts I am now getting the relative x,y,z information from both. I'm trying to create a stabalised platform, but for a start i'm trying to make the mount follow the movement of the gyro+accel. Q: if the gyro+acc are at rest when I start, then move them through a random pattern of movement back to the resting position, the mount should follow and the finish back at the starting position?
The gyro measures the angular rate of movement and the accel the speed at which this occurs?
Therefore if the calcs are correct then as long as the gyro+accel are back in the same position as when they started, the mount should also be - Yes?
I take the rate from the gyro (deg/sec)and the inertial force from the acc (g's) Apply this through a kalman filterto provide smoothing - how do you then apply this to the servo's.... I assume that u then use these figures to calculate a future position and apply this to the servo.
I've read through a number of excellent articles, but my physics is a little rusty.
Additionally has anyone had experience with the lis331- taken me a while to get its sorted( updated the library) but still feel that it is this area that my calcs might be out.