Calibrate JW24F8 on Linux

This is the English forum for all topics related to JoyWarrior. Please post in English only

Moderator: Guido Körber

Guido Körber
Site Admin
Posts: 2856
Joined: Tue Nov 25, 2003 10:25 pm
Location: Germany/Berlin
Contact:

Re: Calibrate JW24F8 on Linux

Post by Guido Körber »

How about using the documentation for our sensor? I don't think you would use a Ford manual to try to repair a VW car?
thomas64
Posts: 19
Joined: Tue Apr 21, 2009 11:46 am

Re: Calibrate JW24F8 on Linux

Post by thomas64 »

I have to calculate the angle between the axis X and axis Y.

Using the formula = arctan (y / x) I always find zero in rotation.

How can I do?

Please
thomas64
Posts: 19
Joined: Tue Apr 21, 2009 11:46 am

Re: Calibrate JW24F8 on Linux

Post by thomas64 »

I know very well but your documentation does not help me much indeed.
Guido Körber
Site Admin
Posts: 2856
Joined: Tue Nov 25, 2003 10:25 pm
Location: Germany/Berlin
Contact:

Re: Calibrate JW24F8 on Linux

Post by Guido Körber »

The angle is 90°.

I assume you are looking for either the resulting vector or the resulting vector angle? Pythagoras will give you that answer.
thomas64
Posts: 19
Joined: Tue Apr 21, 2009 11:46 am

Re: Calibrate JW24F8 on Linux

Post by thomas64 »

It's the resulting vector between axis X and axis Y. With Pythagorus the problem is the sign.

I have an other question, how can I do an average of the Axis?
I'd like to make an average of 10 samples, for a smoother signal.
Post Reply