View unanswered posts | View active topics It is currently Tue Jan 22, 2019 8:12 am

Reply to topic  [ 2 posts ] 
Help files still must be improved 
Author Message
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Help files still must be improved
the help function is still very poor and urgently needs to be improved.
If I'm looking for help to the topic "Sensors" and open the submenu (click on [+]),
there are only general information to sensorMode, sensorType etc., but no single hint to it's actual usage can be found.
What I'm expecting are explanations and code snippets like
supported are currently:

first you have to define
setSensor(sensorPort, sensorType), e.g.:
setSensor(S1, sensorSonar);
instead of S1 you may use: 0 (and instead of S2: 1, and so on)

then you can get the current sensor value by
int myVar;

alternatively you may wish to use the built-in sensor wizzard, if you want

Actually I don't know if my examples are correct (because I don't have found help topics on that!!), it's only the way I want it to be like this.
Especially missing are additional code snippets for the Hitechnic Compass Sensor and some code snippets for 3rd party I²C sensors, and the usage of subtypes and alternative raw value reading of analog sensors.

Thank you!

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)}

Thu Sep 25, 2008 9:20 am
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 620
Post Re: Help files still must be improved
Noted. Thanks for the feedback.

We're entering a slow period now that the FIRST Tech Challenge competition has begun, so my plans are to do some major work on the help documentation. Any other suggestions are appreciated.

Timothy Friez
ROBOTC Developer - SW Engineer

Fri Sep 26, 2008 9:15 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

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.