cz.cuni.amis.pogamut.usar2004.agent.module.sensor
Class SensorEncoder
java.lang.Object
cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SuperSensor
cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SensorEncoder
public class SensorEncoder
- extends SuperSensor
Sensor message representative for Victim sensor.
- Author:
- vejmanm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public static final SensorType type
SensorEncoder
public SensorEncoder()
- Ctor. Sensor type describes particular subject about which we want to
know about. It is used to distinguish incoming message from the server.
getTickByName
public int getTickByName(String Name)
- String is the sensor name. Integer is the tick count. Example:
SEN {Type Encoder} {Name ECLeft Tick -61} {Name ECRight Tick -282} {Name
ECTilt Tick 0} {Name ECPan Tick 0}
- Parameters:
Name - String representation of Tick.
- Returns:
- Returns Tick value by input Name.
getEncoderNames
public Set<String> getEncoderNames()
- String is the sensor name. Integer is the tick count. Example:
SEN {Type Encoder} {Name ECLeft Tick -61} {Name ECRight Tick -282} {Name
ECTilt Tick 0} {Name ECPan Tick 0}
- Returns:
- Returns KeySet representing the Encoder Tick names.
getEncodersSize
public int getEncodersSize()
- Returns Encoder tick list size.
- Returns:
- Returns Encoder tick list size.
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.