223 reputation
16
bio website kendallfrey.com
location Ontario, Canada
age 19
visits member for 1 years, 3 months
seen Apr 4 at 20:55

I am primarily a C# programmer, but also use JavaScript, and some other languages in my spare time.

Website: http://kendallfrey.com

Blog: http://csharpramblings.blogspot.com


Mar
19
comment Calculating pitch and roll with accelerations greater than +/- 1g
Well, you'll have to make some assumptions. You could assume that gravity is in the same direction as the current acceleration. You could assume that the device is level. You could assume any number of things. You're simply trying to calculate too many unknowns from your known variables. Your problem is underspecified.
Mar
19
comment Calculating pitch and roll with accelerations greater than +/- 1g
You can't determine whether an object is stationary or not using only an accelerometer, so you have to either assume it is or assume it isn't.
Mar
19
comment Calculating pitch and roll with accelerations greater than +/- 1g
As I said on Stack Overflow, there's no way to tell how strongly you're being influenced by gravity, and in what direction. The only data you have is acceleration relative to the device orientation, which isn't enough to determine anything related to gravity. Unless you can disprove General Relativity.
Mar
19
comment Calculating pitch and roll with accelerations greater than +/- 1g
The problem is, you will have no idea which direction g is in, and so you'll have to guess (and probably guess wrong).
Mar
14
awarded  Supporter
Jan
3
awarded  Yearling
Oct
25
comment Why does a two wheeler (with out any support of stand) vehicle falls down being at rest, but not under motion?
@CURIE What are you asking? I don't understand your comment.
Oct
25
answered Why does a two wheeler (with out any support of stand) vehicle falls down being at rest, but not under motion?
Jul
17
awarded  Popular Question
Jul
16
awarded  Nice Question
Jul
16
awarded  Scholar
Jul
16
accepted Why does wet skin sunburn faster?
Jul
16
awarded  Student
Jul
16
asked Why does wet skin sunburn faster?
Jan
3
awarded  Autobiographer
Jan
3
comment Is it possible that there is a color our human eye can't see?
I'll point out that the inverse is true. We can see magenta, even though there is no single wavelength that is the color magenta.