cz.cuni.amis.pogamut.usar2004.agent.module.sensor
Class SensorHelper

Package class diagram package SensorHelper
java.lang.Object
  extended by cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SuperSensor
      extended by cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SensorHelper

public class SensorHelper
extends SuperSensor

Sensor message representative for Helper sensor.

Author:
vejmanm

Field Summary
static SensorType type
           
 
Fields inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SuperSensor
lastMessage, sensorType
 
Constructor Summary
SensorHelper()
          Ctor.
 
Method Summary
 double getCorona()
          AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera.
 double getDistance()
          AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera.
 javax.vecmath.Point2d getPos2D()
          AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera.
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getPos3D()
          AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera.
 double getRadius()
          AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera.
 boolean isVisible()
          AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera.
 
Methods inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SuperSensor
getName, getSensorType, getTime, getType, isReady, updateMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public static final SensorType type
Constructor Detail

SensorHelper

public SensorHelper()
Ctor. Sensor type describes particular subject about which we want to know about. It is used to distinguish incoming message from the server.

Method Detail

getPos2D

public javax.vecmath.Point2d getPos2D()
AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera. Not in USARSim manual v3.1.3.

Returns:
Returns position on the camera of the soccer ball.

getPos3D

public cz.cuni.amis.pogamut.base3d.worldview.object.Location getPos3D()
AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera. Not in USARSim manual v3.1.3.

Returns:
Returns location of the soccer ball in the environment.

getCorona

public double getCorona()
AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera. Not in USARSim manual v3.1.3.

Returns:
Returns corona of the soccer ball.

getRadius

public double getRadius()
AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera. Not in USARSim manual v3.1.3.

Returns:
Returns radius of the soccer ball.

getDistance

public double getDistance()
AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera. Not in USARSim manual v3.1.3.

Returns:
Returns distance of the soccer ball from the robot.

isVisible

public boolean isVisible()
AIBO - ERS robot uses tracking ball sensor, that recognises a soccer ball from camera. Not in USARSim manual v3.1.3.

Returns:
Returns position on the camera of the soccer ball.


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.