|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGripperCamera
class GripperCamera
The class GripperCamera contains methods to perform various operations on the camera mounted on the AF2 gripper unit. These methods allow the position of a fibre to be determined, and also allow the overlay of a centroid marker and fibre number.
Nested Class Summary | |
---|---|
(package private) class |
GripperCamera.GripperCameraOverlay
The gripper camera overlay class. |
Field Summary | |
---|---|
private int |
HEIGHT
The height of the Camera image |
private int |
QUADRANT_OFFSET
Offset to provide a full screen robot offset |
private boolean |
SIMULATION
|
private double |
TVROTATION
|
private double |
TVSCALE_X
|
private double |
TVSCALE_Y
|
private int |
WIDTH
The width of the Camera image |
Constructor Summary | |
---|---|
GripperCamera()
|
Method Summary | |
---|---|
(package private) void |
clearOverlay()
Clear the TV overlay display |
private java.awt.Point |
convertToRobotCoordinateFrame(java.awt.Point thePoint)
Convert tv camera coordinates to robot coordinate frame |
(package private) java.awt.Point |
getFibrePosition()
Get the fibre's centroid position |
(package private) java.awt.Point |
getFibrePosition(Fibre theFibre)
Get the position of a fibre in the robot's coordinate system, where 0, 0 is roughly the centre of the TV image The TV window is [1:760,1:570]. |
(package private) int |
getHeight()
Get the height of the camera's frame |
(package private) int |
getQuadrantOffset()
Get the size of the camera's quadrant offset |
(package private) int |
getWidth()
Get the width of the camera's frame |
(package private) boolean |
isFibreThere()
Is a fibre visible in the TV camera |
(package private) void |
overlayCentroidMarker(int x,
int y)
|
(package private) void |
overlayFibreNumber(Fibre theFibre)
Overlay a fibre number on the TV output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final boolean SIMULATION
private final double TVSCALE_X
private final double TVSCALE_Y
private final double TVROTATION
private final int WIDTH
private final int HEIGHT
private final int QUADRANT_OFFSET
Constructor Detail |
---|
GripperCamera()
Method Detail |
---|
boolean isFibreThere()
java.awt.Point getFibrePosition(Fibre theFibre)
theFibre
- The fibre who's position is to be determined
java.awt.Point getFibrePosition()
void overlayFibreNumber(Fibre theFibre)
theFibre
- The fibrevoid overlayCentroidMarker(int x, int y)
void clearOverlay()
int getWidth()
int getHeight()
int getQuadrantOffset()
private java.awt.Point convertToRobotCoordinateFrame(java.awt.Point thePoint)
thePoint
- The camera coordinates
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |