jAER project on SourceForge

ch.unizh.ini.jaer.chip.stereopsis
Class Tmpdiff128StereoBoard

java.lang.Object
  extended by java.util.Observable
      extended by net.sf.jaer.chip.Chip
          extended by net.sf.jaer.chip.Chip2D
              extended by net.sf.jaer.chip.AEChip
                  extended by ch.unizh.ini.jaer.chip.retina.AERetina
                      extended by ch.unizh.ini.jaer.chip.retina.Tmpdiff128
                          extended by ch.unizh.ini.jaer.chip.stereopsis.Tmpdiff128StereoBoard
All Implemented Interfaces:
java.io.Serializable, StereoChipInterface

public class Tmpdiff128StereoBoard
extends Tmpdiff128
implements StereoChipInterface

The AEChip object representing the Tmpdiff128 Stereo Board. This board holds two Tmpdiff128 chips and uses the CypressFX2LP with the Xilinx Coolrunner CPLD to capture both retinas and send the events down a single, time-synchronized USB pipe. The events are tagged left or right eye by the msb (bit15) of the raw device address. This object provides a unified interface to both Tmpdiff128 chips and delivers AEPacket's with binocular retina events.

Note that this AEChip object has it's own set of biasgen settings on its own preference node.

Author:
tobi
See Also:
Serialized Form

Nested Class Summary
 class Tmpdiff128StereoBoard.Extractor
          the event extractor for the stereo chip pair.
 
Nested classes/interfaces inherited from class ch.unizh.ini.jaer.chip.retina.Tmpdiff128
Tmpdiff128.Biasgen
 
Field Summary
 
Fields inherited from class net.sf.jaer.chip.AEChip
aeInputStream, aeOutputStream, aeViewer, defaultEventFilters, eventExtractor, filterChain, renderer
 
Fields inherited from class net.sf.jaer.chip.Chip2D
canvas, filterFrame, numCellTypes, sizeX, sizeY
 
Fields inherited from class net.sf.jaer.chip.Chip
biasgen, hardwareInterface, log, name
 
Constructor Summary
Tmpdiff128StereoBoard()
          Creates a new instance of Tmpdiff128StereoBoard
 
Method Summary
 AEChip getLeft()
           
 int getNumCellTypes()
           
 AEChip getRight()
           
 void setAeViewer(AEViewer aeViewer)
          Sets the AEViewer that will display this chip.
 void setLeft(AEChip left)
           
 void setRight(AEChip right)
           
 void swapEyes()
          swaps the left and right hardware channels.
 
Methods inherited from class ch.unizh.ini.jaer.chip.retina.Tmpdiff128
setHardwareInterface
 
Methods inherited from class net.sf.jaer.chip.AEChip
addDefaultEventFilter, getAeInputStream, getAeOutputStream, getAeViewer, getDefaultEventFilterClasses, getDefaultEventFilterClassNames, getDescription, getEventClass, getEventExtractor, getFilterChain, getFilterFrame, getRawAddressNumBits, getRenderer, isSubSamplingEnabled, setAeInputStream, setAeOutputStream, setEventClass, setEventExtractor, setFilterChain, setFilterFrame, setNumCellTypes, setRawAddressNumBits, setRenderer, setSubSamplingEnabled, toString
 
Methods inherited from class net.sf.jaer.chip.Chip2D
getCanvas, getMaxSize, getMinSize, getNumCells, getNumPixels, getPixelHeightUm, getPixelWidthUm, getSizeX, getSizeY, setCanvas, setName, setPixelHeightUm, setPixelWidthUm, setRenderer, setSizeX, setSizeY
 
Methods inherited from class net.sf.jaer.chip.Chip
getBiasgen, getHardwareInterface, getLastData, getName, getPreferredHardwareInterface, getPrefs, getRemoteControl, setBiasgen, setLastData, setPreferredHardwareInterface, setPrefs, setRemoteControl
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tmpdiff128StereoBoard

public Tmpdiff128StereoBoard()
Creates a new instance of Tmpdiff128StereoBoard

Method Detail

setAeViewer

public void setAeViewer(AEViewer aeViewer)
Description copied from class: AEChip
Sets the AEViewer that will display this chip. Notifies Observers of this chip with the aeViewer instance.

Overrides:
setAeViewer in class Tmpdiff128
Parameters:
aeViewer - the viewer

getNumCellTypes

public int getNumCellTypes()
Overrides:
getNumCellTypes in class AEChip

getLeft

public AEChip getLeft()
Specified by:
getLeft in interface StereoChipInterface

getRight

public AEChip getRight()
Specified by:
getRight in interface StereoChipInterface

setLeft

public void setLeft(AEChip left)
Specified by:
setLeft in interface StereoChipInterface

setRight

public void setRight(AEChip right)
Specified by:
setRight in interface StereoChipInterface

swapEyes

public void swapEyes()
Description copied from interface: StereoChipInterface
swaps the left and right hardware channels. This method can be used if the hardware interfaces are incorrectly assigned.

Specified by:
swapEyes in interface StereoChipInterface

jAER project on SourceForge