|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.core.util.MethodCallRequestHandler
kaos.robots.core.ExecutionManager
kaos.robots.activmedia.KAoSAriaRobot
kaos.robots.activmedia.KAoSAriaSonar
kaos.robots.activmedia.KAoSAriaCamera
public class KAoSAriaCamera
Nested Class Summary | |
---|---|
protected static class |
KAoSAriaCamera.MONITORING_STATUS
|
Nested classes/interfaces inherited from class kaos.robots.core.ExecutionManager |
---|
ExecutionManager.RequestHandlerThread |
Field Summary | |
---|---|
AriaCamera |
camera
|
protected KAoSAriaCamera.MONITORING_STATUS |
CURRENT_MONITORING_STATUS
|
protected boolean |
TRACKING_MOTION_WITH_CAMERA
|
Fields inherited from class kaos.robots.activmedia.KAoSAriaSonar |
---|
sonar |
Fields inherited from class kaos.robots.activmedia.KAoSAriaRobot |
---|
robot |
Fields inherited from class kaos.robots.core.ExecutionManager |
---|
_actorID, _agentDescription, _classificationListeners, _connected, _currentActions, _enablingClasses, _enforcer, _ihmcDomain, _kaosEnabled, _learnedTasks, _learnedTaskVariables, _learning, _listeners, _logger, _nickName, _policyAdvice, _policyService, _query, _registeredWithKAoS, _registration, _reniaCallback, _spatialReasoning, _subtasks, _taskName, _transportName, myTeam |
Fields inherited from class kaos.core.util.MethodCallRequestHandler |
---|
_helper, _mts, DEFAULT_NICKNAME, myLocator, myMessageReceiver, myMessageSender |
Constructor Summary | |
---|---|
KAoSAriaCamera()
|
Method Summary | |
---|---|
void |
Center(java.util.HashMap properties)
CenterPanTilt |
protected void |
createRobot(java.lang.String[] args)
|
CameraPose |
GetCameraPose(java.util.HashMap properties)
|
java.lang.Double |
GetMaxZoom()
GetMaxZoom |
java.lang.Double |
GetPan()
GetPan |
Pose |
GetPanTiltPose()
GetPanTiltPose |
java.lang.Double |
GetTilt()
GetTilt |
java.lang.Double |
GetZoom()
GetZoom |
void |
init(java.lang.String[] args)
|
boolean |
isTrackingMotion()
|
static void |
main(java.lang.String[] args)
|
void |
Pan(java.util.HashMap properties)
Pan |
void |
PanPTZCamera(java.util.HashMap properties)
|
void |
Search(java.util.HashMap properties)
|
void |
SecureBoundary(java.util.HashMap properties)
|
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 |
void |
StartMonitoring(java.util.HashMap properties)
|
void |
StartMonitoringForMotion(java.util.HashMap properties)
|
void |
StartMonitoringWithCamera(java.util.HashMap properties)
|
void |
StopMonitoring(java.util.HashMap properties)
|
void |
StopMonitoringForMotion(java.util.HashMap properties)
|
void |
StopMonitoringWithCamera(java.util.HashMap properties)
|
void |
Tilt(java.util.HashMap properties)
Tilt |
void |
TiltPTZCamera(java.util.HashMap properties)
|
void |
Zoom(java.util.HashMap properties)
Zoom required key hasDirection values in | out optional key hasValue values amount to zoom relative to current setting | [default 20%] |
Methods inherited from class kaos.robots.activmedia.KAoSAriaSonar |
---|
GetMaximumEffectiveSonarRange, GetNumberOfSonarSensors, GetSonarRange, GetSonarReading, GetSonarReadings, SetMaxEffectiveSonarRange, StartFollowing, StopFollowing |
Methods inherited from class kaos.core.util.MethodCallRequestHandler |
---|
bindToTransport, handleMsgContent, handleObjContent, initialize, receiveMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public AriaCamera camera
protected boolean TRACKING_MOTION_WITH_CAMERA
protected KAoSAriaCamera.MONITORING_STATUS CURRENT_MONITORING_STATUS
Constructor Detail |
---|
public KAoSAriaCamera() throws AbortActionException
AbortActionException
Method Detail |
---|
protected void createRobot(java.lang.String[] args)
createRobot
in class KAoSAriaSonar
public void init(java.lang.String[] args)
init
in class KAoSAriaSonar
public void StartMonitoring(java.util.HashMap properties) throws java.lang.Exception
java.lang.Exception
public void StopMonitoring(java.util.HashMap properties)
public void StartMonitoringForMotion(java.util.HashMap properties)
public void StopMonitoringForMotion(java.util.HashMap properties)
public void StartMonitoringWithCamera(java.util.HashMap properties)
public void StopMonitoringWithCamera(java.util.HashMap properties)
public boolean isTrackingMotion()
public void Zoom(java.util.HashMap properties) throws java.lang.Exception
Zoom
in interface Zoomable
java.lang.Exception
public void SetZoom(java.util.HashMap properties) throws java.lang.Exception
properties
- HashMap 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 Zoomable
java.lang.Exception
public java.lang.Double GetMaxZoom() throws java.lang.Exception
GetMaxZoom
in interface Zoomable
java.lang.Exception
public void PanPTZCamera(java.util.HashMap properties)
public void TiltPTZCamera(java.util.HashMap properties)
public void Pan(java.util.HashMap properties) throws java.lang.Exception
Pan
in interface PanTiltBase
properties
- HashMap 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 PanTiltBase
properties
- HashMap 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 PanTiltBase
properties
- HashMap 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 PanTiltBase
properties
- HashMap 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 PanTiltBase
properties
- HashMap of properties
required key hasPose
values Pose with pan (Yaw) and tilt (pitch) in absolute degrees
java.lang.Exception
public CameraPose GetCameraPose(java.util.HashMap properties)
public java.lang.Double GetPan() throws java.lang.Exception
GetPan
in interface PanTiltBase
java.lang.Exception
public java.lang.Double GetTilt() throws java.lang.Exception
GetTilt
in interface PanTiltBase
java.lang.Exception
public Pose GetPanTiltPose() throws java.lang.Exception
GetPanTiltPose
in interface PanTiltBase
java.lang.Exception
public void Center(java.util.HashMap properties) throws java.lang.Exception
Center
in interface PanTiltBase
java.lang.Exception
public void Search(java.util.HashMap properties) throws AbortActionException
AbortActionException
public void SecureBoundary(java.util.HashMap properties) throws AbortActionException
SecureBoundary
in class KAoSAriaRobot
AbortActionException
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |