Classes | |
struct | Object |
Public Types | |
enum | OBJECT_TYPE { BOX, CYLINDER, SPHERE, TREE, DS, TOBJ } |
Public Member Functions | |
IRobotSim (OptionManager &mgr, const std::string &descrName="IRobotSim", const std::string &tagName="IRobotSim", bool showWorld=false) | |
void | start2 () |
This is called from within start() after the subcomponents have started. | |
void | handleWinEvents (XEvent &event) |
void | simLoop () |
void | startSim (void) |
void | updateSensors () |
Image< PixRGB< byte > > | getFrame (int camera) |
void | getSensors (float &xPos, float &yPos, float &ori) |
void | setMotors (double rightSpeed, double leftSpeed) |
dWorldID | getWorld () |
dJointGroupID | getContactgroup () |
void | addObject (OBJECT_TYPE objType, double initPos[3], double objSize[3], bool addToSpace=true, const char *texture=NULL) |
float | getXPos () |
float | getYPos () |
float | getOri () |
void | initViewport () |
dGeomID | getCasterGeom () |
dGeomID | getRobotGeom () |
dGeomID | getGroundGeom () |
Definition at line 57 of file IRobotSim.H.
void IRobotSim::start2 | ( | ) | [virtual] |
This is called from within start() after the subcomponents have started.
Reimplemented from ModelComponent.
Definition at line 133 of file IRobotSim.C.