| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package plugins :: Package brains :: Module RAVQ :: Class SimpleBrain |
|
object--+ |_Verbose--+ |Thread--+ |Brain--+ | SimpleBrain
| Method Summary | |
|---|---|
Determines next action, but doesn't execute it. | |
recordRAVQ(self)
| |
setup(self)
| |
This is the method that does all of the work. | |
| Inherited from Brain | |
Constructor for Brain class. | |
Method to override if you create objects (such as devices). | |
Short-cut to call the robot's getDevice method. | |
Returns the engine property. | |
Short-cut to call the robot's hasA method. | |
Method that creates a window; seen under Brain -> Watch. | |
Short-cut to call the robot's motors method. | |
Short-cut to call the robot's move method. | |
Signals the thread that we need to stop running. | |
Signals the thread that we need to start stepping. | |
Signals the thread to make a step. | |
Signals the thread that we need to stop stepping the robot. | |
Signals the thread that we need to stop running. | |
Redraws the brain watch window. | |
Short-cut to call the robot's removeDevice method. | |
Short-cut to call the robot's requires method. | |
Short-cut to call the robot's rotate method. | |
Runs the brain/thread. | |
Short-cut to call the robot's startDevice method. | |
Short-cut to call the robot's stop method. | |
Short-cut to call the robot's translate method. | |
Short-cut to call the robot's update method. | |
| Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Method Details |
|---|
avoidObstacles(self)Determines next action, but doesn't execute it. Returns the translate and rotate values. When front is blocked, it picks to turn away from the self.direction with the minimum reading and maintains that turn until front is clear. |
step(self)This is the method that does all of the work.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:26 2005 | http://epydoc.sf.net |