kaos.robots.activmedia
Class AMptzCameraSonar

java.lang.Object
  extended by kaos.robots.core.KAoSRobot
      extended by kaos.robots.activmedia.ActivMedia
          extended by kaos.robots.activmedia.AMsonar
              extended by kaos.robots.activmedia.AMptzCameraSonar
All Implemented Interfaces:
Command, FeedbackReceiver, KAoSObservable, KAoSObserver, ObserverManager, CommRelay, MobileRobot, PTZCamera, Sonar, VideoCamera
Direct Known Subclasses:
Pioneer

public class AMptzCameraSonar
extends AMsonar
implements PTZCamera, VideoCamera


Nested Class Summary
 
Nested classes/interfaces inherited from class kaos.robots.core.KAoSRobot
KAoSRobot.RequestHandlerThread
 
Field Summary
 
Fields inherited from class kaos.robots.core.KAoSRobot
_actorID, _address, _agentDescription, _classificationListeners, _connectBtn, _connected, _connectToCmb, _currentActions, _enablingClasses, _enforcer, _gpsIsAvailable, _gpsOrigin, _listeners, _locator, _logger, _messageReceiver, _msgTransportService, _myLocator, _nickName, _registeredWithKAoS, _reniaCallback, _sender
 
Constructor Summary
AMptzCameraSonar()
           
 
Method Summary
 java.lang.String CaptureImage()
           
 void CenterPTZCamera()
           
 java.awt.image.BufferedImage GetImage()
           
 PTZPose GetPosePTZCamera()
           
 SerializableBufferImage GrabFrameAsBuffer()
          CaptureImage
 void init(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
 void PanPTZCamera(java.util.HashMap properties)
           
 void TiltPTZCamera(java.util.HashMap properties)
           
 void ZoomPTZCamera(java.util.HashMap properties)
           
 
Methods inherited from class kaos.robots.activmedia.AMsonar
getLastSonarXNative, getLastSonarYNative, GetMaximumEffectiveSonarRange, GetNumberOfSonarSensors, GetSonarRange, getSonarRangeNative, GetSonarReading, isNewLastSonarNative, SetMaxEffectiveSonarRange, setMaxEffectiveSonarRange
 
Methods inherited from class kaos.robots.activmedia.ActivMedia
CommRelayMoveTo, CommRelayStop, connect, connectToRobotNative, connectToSimNative, disconnect, disconnectNative, GetCoordinate, getID, getMaxRotationalVelocityNative, GetMaxTranslationalVelocity, getMaxTranslationalVelocityNative, GetNamedLocationCoordinate, GetNamedLocations, GetPose, getTHNative, getXNative, getYNative, initNative, IsMoving, isMovingNative, IsTranslating, isTranslatingNative, IsTurning, isTurningNative, loadWorldNative, moveDistance, MoveDistance, MoveTo, moveToNative, moveToState, NameCurrentLocation, NameSpecifiedLocation, SearchDistance, setMaxMoveToSpeed, setMaxRotationalVelocityNative, SetMaxTranslationalVelocity, setMaxTranslationalVelocityNative, setOrigin, setOriginNative, setPose, SetRotationalVelocity, setRotationalVelocityNative, SetTranslationalVelocity, setTranslationalVelocityNative, Stop, stopNative, TurnRelative, turnRelNative, TurnTo, turnToNative, turnToState, update
 
Methods inherited from class kaos.robots.core.KAoSRobot
assertNotLocatable, buildAID, buildConnectPanel, buildKAoSPanel, checkObligations, deregisterObserver, deregisterObserver, deregisterObserver, equals, ExtendTimeout, getActions, getActorID, getAgentDescription, getAgentDescriptionFromName, getAllAgents, getCurrentActions, getDetectedObjectObservable, getGPSCommPort, getLocator, getMTS, getPropertiesFromAID, getTimeoutPeriod, gpsIsAvailable, hashCode, initialize, isRegisteredWithKAoS, makeActionAllowable, notify, onAborted, onAccepted, onCompleted, onRefused, onStarted, printDebugString, receiveKAoSStatus, receiveMessage, registerObserver, registerObserver, registerObserver, registerObserver, registerWithKAoS, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, sendMessage, sendRequestToKaa, setRegisteredWithKAoS, updateTimeout
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMptzCameraSonar

public AMptzCameraSonar()
                 throws AbortActionException
Throws:
AbortActionException
Method Detail

init

public void init(java.lang.String[] args)
Overrides:
init in class AMsonar

CaptureImage

public java.lang.String CaptureImage()
                              throws java.lang.Exception
Throws:
java.lang.Exception

GetImage

public java.awt.image.BufferedImage GetImage()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

GrabFrameAsBuffer

public SerializableBufferImage GrabFrameAsBuffer()
                                          throws java.lang.Exception
Description copied from interface: VideoCamera
CaptureImage

Specified by:
GrabFrameAsBuffer in interface VideoCamera
Returns:
Buffer buffer of image
Throws:
java.lang.Exception

PanPTZCamera

public void PanPTZCamera(java.util.HashMap properties)
Specified by:
PanPTZCamera in interface PTZCamera

TiltPTZCamera

public void TiltPTZCamera(java.util.HashMap properties)
Specified by:
TiltPTZCamera in interface PTZCamera

ZoomPTZCamera

public void ZoomPTZCamera(java.util.HashMap properties)
Specified by:
ZoomPTZCamera in interface PTZCamera

CenterPTZCamera

public void CenterPTZCamera()

GetPosePTZCamera

public PTZPose GetPosePTZCamera()

main

public static void main(java.lang.String[] args)