|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.robots.activmedia.CannonCamera
public class CannonCamera
| Field Summary | |
|---|---|
protected Logger |
_logger
|
| Constructor Summary | |
|---|---|
CannonCamera()
|
|
| Method Summary | |
|---|---|
protected static void |
center()
|
void |
CenterPanTilt()
CenterPanTilt |
java.lang.Double |
GetMaxZoom()
GetMaxZoom |
protected static double |
getPan()
|
java.lang.Double |
GetPan()
GetPan |
Pose |
GetPanTiltPose()
GetPanTiltPose |
protected static double |
getTilt()
|
java.lang.Double |
GetTilt()
GetTilt |
protected static double |
getZoom()
|
java.lang.Double |
GetZoom()
GetZoom |
SerializableBufferImage |
GrabFrameAsBuffer()
CaptureImage |
protected static int |
initCamera()
|
protected static void |
pan(double direction)
|
void |
Pan(java.util.HashMap properties)
Pan |
protected static void |
panRel(double direction)
|
void |
SetPan(java.util.HashMap properties)
SetPan |
void |
SetPanTiltPose(java.util.HashMap properties)
SetPanTiltPose |
void |
SetTilt(java.util.HashMap properties)
SetTilt |
void |
SetZoom(java.util.HashMap properties)
SetZoom |
protected static void |
tilt(double direction)
|
void |
Tilt(java.util.HashMap properties)
Tilt |
protected static void |
tiltRel(double direction)
|
protected static void |
zoom(double direction)
|
void |
Zoom(java.util.HashMap properties)
Zoom |
protected static void |
zoomRel(double direction)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Logger _logger
| Constructor Detail |
|---|
public CannonCamera()
| Method Detail |
|---|
public SerializableBufferImage GrabFrameAsBuffer()
throws java.lang.Exception
GrabFrameAsBuffer in interface VideoCameranone -
java.lang.Exception
public void Zoom(java.util.HashMap properties)
throws java.lang.Exception
Zoom in interface ZoomableHashMap - of properties
required key hasDirection
values in | out
optional key hasValue
values amount to zoom relative to current setting |
[default 20%]
java.lang.Exception
public void SetZoom(java.util.HashMap properties)
throws java.lang.Exception
SetZoom in interface ZoomableHashMap - of properties
required key hasPercent
values Double [0-1] indicating percentage
java.lang.Exception
public java.lang.Double GetZoom()
throws java.lang.Exception
GetZoom in interface ZoomableNone -
java.lang.Exception
public java.lang.Double GetMaxZoom()
throws java.lang.Exception
GetMaxZoom in interface ZoomableNone -
java.lang.Exception
public void Pan(java.util.HashMap properties)
throws java.lang.Exception
Pan in interface PanTiltBaseHashMap - of properties
required key hasDirection
values left|right
optional key hasDegrees
values number of degrees to pan relative to current angle |
[default 20 degrees]
java.lang.Exception
public void SetPan(java.util.HashMap properties)
throws java.lang.Exception
SetPan in interface PanTiltBaseHashMap - of properties
required key hasPercent
values percent of degrees to pan absolute from center
OR
key hasDegrees
values number of degrees to pan absolute from center
java.lang.Exception
public void Tilt(java.util.HashMap properties)
throws java.lang.Exception
Tilt in interface PanTiltBaseHashMap - of properties
required key hasDirection
values up|down
optional key hasDegrees
values number of degrees to pan relative to current angle |
[default 20 degrees]
java.lang.Exception
public void SetTilt(java.util.HashMap properties)
throws java.lang.Exception
SetTilt in interface PanTiltBaseHashMap - of properties
required key hasPercent
values percent of degrees to pan absolute from center
OR
key hasDegrees
values number of degrees to pan absolute from center
java.lang.Exception
public void SetPanTiltPose(java.util.HashMap properties)
throws java.lang.Exception
SetPanTiltPose in interface PanTiltBaseHashMap - of properties
required key hasPose
values Pose with pan (Yaw) and tilt (pitch) in absolute degrees
java.lang.Exception
public java.lang.Double GetPan()
throws java.lang.Exception
GetPan in interface PanTiltBaseNone -
java.lang.Exception
public java.lang.Double GetTilt()
throws java.lang.Exception
GetTilt in interface PanTiltBaseNone -
java.lang.Exception
public Pose GetPanTiltPose()
throws java.lang.Exception
GetPanTiltPose in interface PanTiltBaseNone -
java.lang.Exception
public void CenterPanTilt()
throws java.lang.Exception
CenterPanTilt in interface PanTiltBaseNone -
java.lang.Exceptionprotected static int initCamera()
protected static void pan(double direction)
protected static void tilt(double direction)
protected static void zoom(double direction)
protected static void panRel(double direction)
protected static void tiltRel(double direction)
protected static void zoomRel(double direction)
protected static void center()
protected static double getPan()
protected static double getTilt()
protected static double getZoom()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||