|
def | __init__ (self, port, nxtcam_address=NXTCAM_ADDRESS) |
| Initialize the class with the i2c address of your NXTCAM. More...
|
|
def | command (self, command) |
| Writes a value to the command register. More...
|
|
def | sortSize (self) |
| Sort the detected objects by size.
|
|
def | trackObject (self) |
| Track detected colors as objects.
|
|
def | writeImageRegisters (self) |
| Write to image sensor registers.
|
|
def | stopTracking (self) |
| Disable tracking.
|
|
def | startTracking (self) |
| Enable tracking.
|
|
def | getColorMap (self) |
| Get the color map from NXTCAM.
|
|
def | illuminationOn (self) |
| Turn on illumination.
|
|
def | readImageRegisters (self) |
| Read to image sensor registers.
|
|
def | trackLine (self) |
| Track detected colors as lines.
|
|
def | ping (self) |
| Ping the NXTCAM.
|
|
def | reset (self) |
| Reset the NXTCAM.
|
|
def | sendColorMap (self) |
| Send ColorMap to NXTCAM.
|
|
def | illuminationOff (self) |
| Turn off illumination.
|
|
def | sortColor (self) |
| Sort tracked objects by color.
|
|
def | firmware (self) |
| Get the firmware version of the NXTCAM.
|
|
def | sortNone (self) |
| Do not sort tracked objects.
|
|
def | getNumberObjects (self) |
| Read the number of objects detected (0-8)
|
|
def | getBlobs (self, blobNum=1) |
| Reads data of the tracked object(s) More...
|
|
def | __init__ (self, port, i2c_address, bitrate=100) |
|
def | readByte (self, reg) |
| Read the byte from reg of the i2c device. More...
|
|
def | readArray (self, reg, len) |
| read len long data array at reg of the i2c device More...
|
|
def | writeByte (self, reg, value) |
| write value at reg of the i2c device More...
|
|
def | writeArray (self, reg, arr) |
| write data array at reg of the i2c device More...
|
|
def | readString (self, reg, length) |
| Read the string of len from reg of the i2c device. More...
|
|
def | readInteger (self, reg) |
| Read the int from reg of the i2c device. More...
|
|
def | readIntegerSigned (self, reg) |
| Read the signed int from reg of the i2c device. More...
|
|
def | readLong (self, reg) |
| Read the long from reg of the i2c device. More...
|
|
def | GetFirmwareVersion (self) |
| Read the firmware version of the i2c device.
|
|
def | GetVendorName (self) |
| Read the vendor name of the i2c device.
|
|
def | GetDeviceId (self) |
| Read the i2c device id.
|
|