varialbes and maths

i'm the epitome of a noob in the world of programming, for a project previously I used PICs and BASIC language to program them but I've chosen an arduino board this time to get the facilities it can offer.
Basically the project is a self stabilizing platform with an IMU, a servo and a linear actuator.
I know this isn't helpmewithmyhomework.cc/cgi-bin/yabb2....... but I thought i'd give you a background.

What i really need to know is how to perform trig functions with the accelerometer input and how to integrate with the rate gyro input.
Any help would be very much appreciated :slight_smile: thanks all!

http://www.arduino.cc/en/Reference/Sin
http://arduino.cc/en/Reference/Cos
http://arduino.cc/en/Reference/Tan

Could you tell us more about the hardware you are using? types, numbers, URL to datasheets ?

The basic functions are useful thanks, but I have done enough research to find out those already, what i would love to know is the use of variables and maths to get it to the stage when it can be used by the trig functions.

And i believe its an "IMU combo control board (IDG500/AXL1335)", "futaba digital micro high-torque servo 7.9g 1.5kg 0.1s FUTMO654" and a firgelli linear actuator (L12-100-100-06-R). I hope you can make sense of that because I barely can :slight_smile: the linear actuator might be different gearing/sweep length dtc but still an L12

much thanks :slight_smile:

I googled "IDG500/AXL1335" and got only this thread as hit (aka Googlewhacking)

Do you have an URL to datasheets?

Please read the tutorial section of the arduino carefully - http://arduino.cc/en/Tutorial/ADXL3xx

Please google Arduino IDG500 to find the relevant threads on this site.