Go to the documentation of this file.
103 int rConnect (
const char * address);
116 void rSetConnection (
int new_socket_num);
124 void rBeep(
double duration,
int frequency);
133 void rBeep2(
double duration,
int freq1,
int freq2);
141 void rSetName (
const char * name);
148 const char * rGetName();
156 void rSetForwardness(
char * direction);
161 void rSetForwardnessTxt (
char * direction);
167 char * rGetForwardness ();
175 void rSetLEDFront(
int led);
185 void rSetLEDBack(
double led);
191 double rGetBattery();
203 int rGetStall (
int sampleSize);
216 void rSetBluetoothEcho (
char onOff);
243 void rGetLightsAll (
int lightSensors[3],
int sampleSize);
262 int rGetLightTxt (
const char * sensorName,
int sampleSize);
280 void rGetIRAll (
int irSensors[2],
int sampleSize);
298 int rGetIRTxt (
const char * sensorName,
int sampleSize);
316 void rGetLine (
int lineSensors[2],
int sampleSize);
327 void rSetIRPower (
int power);
346 void rGetObstacleAll (
int obstSensors[3],
int sampleSize);
368 int rGetObstacleTxt (
const char * sensorName,
int sampleSize);
385 void rGetBrightAll (
int brightSensors[3],
int sampleSize);
404 int rGetBrightTxt (
char * sensorName,
int sampleSize);
412 void rGetInfo (
char * infoBuffer);
438 void rTurnLeft (
double speed,
double time);
451 void rTurnRight (
double speed,
double time);
468 void rTurnSpeed (
char * direction,
double speed,
double time);
483 void rForward (
double speed,
double time);
494 void rFastForward (
double time);
509 void rBackward (
double speed,
double time);
523 void rMotors (
double leftSpeed,
double rightSpeed);
562 void rSavePicture(
Picture pic,
char * filename);
571 Picture rLoadPicture(
char * filename);
587 void rDisplayPicture(
Picture pic,
double duration,
const char * windowTitle);