View unanswered posts | View active topics It is currently Sat Oct 25, 2014 5:12 pm






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

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Help files still must be improved
hello,
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
Quote:
sensorTypes:
supported are currently:
sensorTouch,
sensorSonar,
....

usage:
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;
myVar=sensorValue(S1);
...

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!

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


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

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
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
tfriez@robotc.net


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

Who is online

Users browsing this forum: Ben 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.