Content originally posted in LPCWare by Lithium on Fri Apr 15 15:34:58 MST 2011
I could try to make a function to send my own integers, not sure if that will work for me.
I will post my main file. It is not 100% efficient i know that. I do not have 25 years of experience.
I know many calculations can be done without floats, i am trying to build a quad copter with an gyroscope and an accelerometer.
The problem now is only for the gyroscope. There float is very important, i need to set just the right gain to let him fly straight. Do you understand how i mean it?
Hope you can help me a bit.
I want to send the vars like m1, m2... gyro_x y and z, rx, etc.
I can now compile the code with printf but i do not get anything on my terminal.
Trying the example in this topic and everything works fine.