| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package engine :: Class Engine |
|
Finds, loads, and creates the needed simulators, robots, devices, etc.
| Method Summary | |
|---|---|
Constructor for the Engine class. | |
Method to destroy the brain, if one. | |
Kills the brain. | |
Kills the robot. | |
Returns the gui object. | |
Finds and loads the brain file. | |
Finds and loads the robot. | |
Finds and loads the simulator. | |
Request to run the brain, followed by a callback. | |
Attempt to step the brain. | |
Attempt to stop the brain. | |
Shuts down the brain, and reloads it. | |
Test method. | |
Sets the brain, after the creation of the engine. | |
Sets the robot, after the creation of the engine. | |
Shuts everything down. | |
Tests to see if you have a brain and robot. | |
| Method Details |
|---|
__init__(self,
robotfile=None,
brainfile=None,
simfile=None,
pyroargs=[],
config={},
worldfile=None,
devices=[''])
|
destroyBrain(self)Method to destroy the brain, if one. |
freeBrain(self)Kills the brain. |
freeRobot(self)Kills the robot. |
getGUI(self)Returns the gui object. |
loadBrain(self, file)Finds and loads the brain file. |
loadRobot(self, file)Finds and loads the robot. |
loadSimulator(self, file, worldfile)Finds and loads the simulator. |
pleaseRun(self, callback=0)Request to run the brain, followed by a callback. |
pleaseStep(self)Attempt to step the brain. |
pleaseStop(self)Attempt to stop the brain. |
reset(self)Shuts down the brain, and reloads it. |
resetFirstAttempts(self)Test method. |
setBrain(self, brain)Sets the brain, after the creation of the engine. |
setRobot(self, robot)Sets the robot, after the creation of the engine. |
shutdown(self)Shuts everything down. |
tryToConnect(self)Tests to see if you have a brain and robot. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:27 2005 | http://epydoc.sf.net |