VEX V5 Python API
|
Public Member Functions | |
def | __init__ (self) |
Creates a new vision object object with all properties set to default values. More... | |
def | flip_angle (self) |
Inverts the anlge for this object. More... | |
def | clear (self) |
Sets all properties for this object to defualt values. More... | |
Public Attributes | |
id | |
The unique ID of the object. More... | |
originX | |
The top left x position of the object. More... | |
originY | |
The top left y position of the object. More... | |
centerX | |
The center x position of the object. More... | |
centerY | |
The center y position of the object. More... | |
width | |
The width of the object. More... | |
height | |
The height of the object. More... | |
angle | |
The angle of the object. More... | |
exists | |
True if the vision sensor detects the object, False if not. More... | |
def vex.VisionObject.__init__ | ( | self | ) |
Creates a new vision object object with all properties set to default values.
def vex.VisionObject.flip_angle | ( | self | ) |
Inverts the anlge for this object.
def vex.VisionObject.clear | ( | self | ) |
Sets all properties for this object to defualt values.
vex.VisionObject.id |
The unique ID of the object.
vex.VisionObject.originX |
The top left x position of the object.
vex.VisionObject.originY |
The top left y position of the object.
vex.VisionObject.centerX |
The center x position of the object.
vex.VisionObject.centerY |
The center y position of the object.
vex.VisionObject.width |
The width of the object.
vex.VisionObject.height |
The height of the object.
vex.VisionObject.angle |
The angle of the object.
vex.VisionObject.exists |
True if the vision sensor detects the object, False if not.