![]() |
Accelerometer code?!
HI Kevin
I would like to know, what are the advantages of using the full-length accelarometer code found in your website? I was able to get the accelarometer working and printing values by simply doing x=Get_Analog_Value(rc_ana_in01); printf("%d\n",(int)x); and then got to an equasion and finished up the story. |
Re: Accelerometer code?!
Kevin's code is pretty much the same as what you are doing if you set it to average only a couple samples. If you bump that number up to, say, 16, then you have a much improved acceleration/angular_velocity value.
There's also a very good bias detection algorithm (its simple too!). |
Re: Accelerometer code?!
Quote:
-Kevin |
| All times are GMT -5. The time now is 01:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi