View unanswered posts | View active topics It is currently Wed Sep 03, 2014 3:09 am






Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
HiTechnic Compass Problems? 
Author Message
Rookie

Joined: Sun Apr 15, 2007 8:33 am
Posts: 40
Location: USA
Post 
I have the calibration program ready wher could I send you the code?

jm

_________________
SuntzuMaster- a French gentlemen in USA.


Thu May 24, 2007 5:09 pm
Profile
Rookie

Joined: Mon May 21, 2007 11:48 am
Posts: 13
Location: Windows machine in a Linux lab
Post 
deep_space@writing.com

Thanks!

--Mandy


Fri May 25, 2007 9:15 am
Profile
Rookie

Joined: Fri May 30, 2008 12:01 pm
Posts: 3
Post Please Help me
I am trying to run the compass sensor on my NXT. I have calibrated it over and over but I am still having trouble with interferences. I am not entirely sure that I am calibrating it correctly. Could someone please help me? thank you


Fri May 30, 2008 12:05 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
hi,
did you try this one:
viewtopic.php?t=463 :?:

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri May 30, 2008 12:08 pm
Profile
Rookie

Joined: Fri May 30, 2008 12:01 pm
Posts: 3
Post 
I found that one but I am using Mindstorms and do not know how to integrate that code into the program. Im sorry, Im just very new at this


Fri May 30, 2008 12:53 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
??
this IS for NXT !
(what else ?)

and how to integrate the code is shown by the two examples (driver and main program).

PS: you've got Personal Mail!

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri May 30, 2008 1:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 21 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.