Can you work the other way Mellin? Use your time movement in radius and degrees and convert to x,y coords? For example x = cos(dwfss *something) in combination with y = sin(dwfss * something) will get you circular motion. Fooling around with that now
The problem is I use accelerometer data and not time.
As a base it gives me 2 numbers (-10 to 10 each) for each axis and I need to get a angle that they are pointing at.
oh I see… Pythagoras right triangle will get you the radius, but you need that TAN ^-1() to get the angle from the rise and the run (y/x). hmm. i 've got nothing man. sorry.
Facer has an atan function that works in the designer, however it does not work on the actual watch (neither do asin or acos). Unfortunately, Facer refuses to even acknowledge* the problem, much less solve it. You can however, approximate atan, with some error. Obviously, this is not ideal, but then the whole situation isn’t ideal, so here you go:
I emailed Facer when I discovered the problem, posted on the forums, tagged Facer on the forums, and filled out a survey informing Facer of this problem. I was completely ignored. Due to the resulting equation bloat, and Facer’s unwillingness to stand behind their product, I was forced to begin a plain AW implementation. I do hope they step up and fix their software someday (there are numerous reported and ignored bugs all over the forums), but I’m not holding my breath.