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

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

public class SensorTachometer
extends SuperSensor

Sensor message representative for Tachometer 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
SensorTachometer()
          Ctor.
 
Method Summary
 javax.vecmath.Point4d getPosition()
          Position of the robot measured by Tachometer.
 javax.vecmath.Point4d getVelocity()
          Velocity of the robot measured by Tachometer.
 
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

SensorTachometer

public SensorTachometer()
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

getVelocity

public javax.vecmath.Point4d getVelocity()
Velocity of the robot measured by Tachometer. Not in the USARSim manual v3.1.3.

Returns:
Returns velocity from Tachometer.

getPosition

public javax.vecmath.Point4d getPosition()
Position of the robot measured by Tachometer. Not in the USARSim manual v3.1.3.

Returns:
Returns position from Tachometer.


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