| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package camera :: Package robocup :: Class RobocupCamera |
|
Device --+
|
PyrobotImage --+
|
Camera --+
|
RobocupCamera
| Method Summary | |
|---|---|
__init__(self,
robot,
width,
height,
depth,
visionSystem)
| |
getPoint(self,
distance,
direction)
| |
lookupLines(self,
flagName)
| |
Update method for getting next sequence from a video camera. | |
| Inherited from Camera | |
Add a filter to the filter list. | |
| |
| |
| |
| |
| |
| |
| |
Returns the device data, whatever it might be. | |
Returns the .state. | |
| |
| |
| |
| |
| |
| |
Assumes self.menuButtons exists... | |
Method to make and show the device window. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Save a copy of the image to disk, in TGA format (Gimp and display can read it). | |
| |
| |
Filters take the form: ("name", (args))... | |
Sets the title of the device. | |
| |
Starts the device (sets the .state). | |
Stops the device (sets the .state). | |
| |
| |
| |
Method called to update the device properties. | |
| |
Method to update the device window. | |
| Inherited from PyrobotImage | |
| |
cropPixels() ------------ crops pixels in the amount specified from left, top, right, and bottom if unspecified, right is assumed to be the same as left and bottom the same as top. | |
Display PyrobotImage in ASCII Art. | |
Get a pixel value. | |
getBitmap()... | |
Get the entire col, in tuples... | |
returns a filtered image r,g,b values indicate percentage of each color to keep eg. | |
| |
Method to convert depth 3 color into depth 1 grayscale... | |
| |
Get the entire row, in tuples... | |
return a scaled version of the current image... | |
Get the entire color value of the pixel in quetion, returned as a tuple. | |
Creates a histogram. | |
Method to increment a pixel value. | |
Method to load image from file. | |
Reset an image to a vector. | |
reset the image to a specified color... | |
Method to save image to a file. | |
Method to set the entire RGB value of a pixel. | |
| |
| Inherited from Device | |
Get a SensorValue, a range, or a set. | |
Used to iterate through SensorValues of device. | |
Method to addWidgets to the device window. | |
Device-level method to get all of the angles. | |
Hides the window. | |
Device-level method to get all of the distances. | |
Returns the value of .active. | |
Return all of the groups a pos is in. | |
Get the maxvalue of the sensor. | |
Returns a specific SensorValue from the range device. | |
Returns the .visible of the sensor. | |
Convert the sensor units into default units. | |
Sets the .active property. | |
Set the maxvalue of the sensor. | |
Use this to put setup code in (instead of in __init__). | |
Sets the .visible attribute, and hides/shows window. | |
| Property Summary | |
|---|---|
| Inherited from Device | |
geometry | |
noise | |
pos | |
rawValue | |
value | |
| Method Details |
|---|
update(self)Update method for getting next sequence from a video camera.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:27 2005 | http://epydoc.sf.net |