Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

mother.h

Go to the documentation of this file.
00001 // mother.h - wrappers for the Nomad client functions
00002 // copyright Pawel Zebrowski, Richard Vaughan 2004, released under the GPL.
00003 
00004 
00006 // converts tens of inches to millimeters
00007 int inchesToMM(int inches);
00008 
00010 // converts millimeters to tens of inches
00011 int mmToInches(int mm);
00012 
00013 
00015 // connects to the robot and performs any other connection setup that
00016 // may be required
00017 void connectToRobot();
00018 
00020 // cleans up and disconnects from the robot
00021 void disconnectFromRobot();
00022     
00023 
00025 // make the robot speak
00026 void speak(char* s);
00027 
00028 
00030 // initializes the robot
00031 void initRobot();
00032 
00034 // update sensor data, to be used before reading/processing sensor data
00035 void readRobot();
00036 
00037 
00039 // set the robot speed, turnrate, and turret in velocity mode.  
00040 // Convert units first
00041 void setSpeed(int speed, int turnrate, int turret);
00042 
00044 // set te robot speed and turnrate in velocity mode.  Make the turret
00045 // turn with the robot.  Convert units first
00046 void setSpeed(int speed, int turnrate);
00047 
00049 // set the odometry of the robot.  Set the turret the same as the base
00050 void setOdometry(int x, int y, int theta);
00051 
00053 // reset the odometry.
00054 void resetOdometry();
00055 
00057 // retreive the x position of the robot
00058 int xPos();
00059 int yPos();
00060 int theta();
00061 int speed();
00062 int turnrate();
00063 
00065 // updates sonarData array with the latest sonar data.  Converts units
00066 void getSonar(int sonarData[16]);

Generated on Tue May 3 14:15:34 2005 for Player by doxygen 1.3.6