eCompass

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eCompass

2,697件の閲覧回数
andy87
Contributor II

Hallo,

 

I have a problem when creating a embedded-eCompass-Applikation with the MAG3110(Magnetometer) and the MMA8451A(Accelerometer) on a Kinetis K70.

 

The problem is, that the value of the compass-heading-angle (Rho) always jumps between values of 0°-360°.
So i don't get a continuous value when I turn the eCompass.


I dont see my mistkae in the C-Code (see the attachment).


It would be great if someone could help me.


Best regards,

Andy

Original Attachment has been moved to: eKompass_2.zip

ラベル(1)
0 件の賞賛
0 返答(返信)
%3CLINGO-SUB%20id%3D%22lingo-sub-219539%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E9%9B%BB%E5%AD%90%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9%20(eCompass)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-219539%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3EKinetis%20K70%20%E3%81%A7%20MAG3110%20(%E7%A3%81%E5%8A%9B%E8%A8%88)%20%E3%81%A8%20MMA8451A%20(%E5%8A%A0%E9%80%9F%E5%BA%A6%E3%82%BB%E3%83%B3%E3%82%B5)%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E7%B5%84%E3%81%BF%E8%BE%BC%E3%81%BF%E9%9B%BB%E5%AD%90%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9%20%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%92%20%E4%BD%9C%E6%88%90%E3%81%99%E3%82%8B%E3%81%A8%E3%81%8D%E3%81%AB%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%E5%95%8F%E9%A1%8C%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%97%E3%81%BE%E3%81%99%20%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-height%3A%208pt%3B%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3E%E5%95%8F%E9%A1%8C%E3%81%AF%E3%80%81%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9%E3%81%AE%E9%80%B2%E8%A1%8C%E6%96%B9%E5%90%91%E3%81%AE%E8%A7%92%E5%BA%A6%20(Rho)%20%E3%81%AE%E5%80%A4%E3%81%8C%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3E%20%E5%B8%B8%E3%81%AB%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%200%C2%B0%20%EF%BD%9E%20360%C2%B0%3C%2FSPAN%3E%20%E3%81%AE%3CSPAN%20class%3D%22hps%22%3E%20%E9%96%93%E3%81%A7%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%20%E5%A4%89%E5%8C%96%E3%81%99%E3%82%8B%20%E3%81%A8%E3%81%84%E3%81%86%E7%82%B9%E3%81%A7%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3ESO%20eCompass%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%20%E3%82%92%E5%9B%9E%E3%81%97%E3%81%A6%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%20%E3%82%82%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22hps%22%3E%E9%80%A3%E7%B6%9A%E3%81%97%E3%81%9F%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%20%E5%80%A4%20%E3%81%8C%E5%BE%97%E3%82%89%E3%82%8C%E3%81%BE%E3%81%9B%E3%82%93%20%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3EC%20%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AB%20mistkae%20%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%BE%E3%81%9B%E3%82%93%20(%E6%B7%BB%E4%BB%98%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E5%8F%82%E7%85%A7)%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%E8%AA%B0%E3%81%8B%E3%81%8C%E7%A7%81%E3%82%92%E5%8A%A9%E3%81%91%E3%81%A6%E3%81%8F%E3%82%8C%3C%2FSPAN%3E%3CSPAN%20class%3D%22hps%22%3E%20%E3%81%9F%E3%82%89%E5%AC%89%E3%81%97%E3%81%84%20%E3%81%A7%E3%81%99%20%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22short_text%22%20lang%3D%22en%22%3E%3CSPAN%20class%3D%22hps%22%3E%E3%82%A2%E3%83%B3%E3%83%87%E3%82%A3%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%E5%85%83%E3%81%AE%E6%B7%BB%E4%BB%98%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%AF%E6%AC%A1%E3%81%AE%E5%A0%B4%E6%89%80%E3%81%AB%E7%A7%BB%E5%8B%95%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F%3A%20%3CA%20_jive_internal%3D%22true%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-338868%22%20target%3D%22_blank%22%3EeKompass_2.zip%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-219539%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E7%A3%81%E6%B0%97%E3%82%BB%E3%83%B3%E3%82%B5%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E