cz.cuni.amis.pogamut.usar2004.agent.module.state
Class StateGround

Package class diagram package StateGround
java.lang.Object
  extended by cz.cuni.amis.pogamut.usar2004.agent.module.state.SuperState
      extended by cz.cuni.amis.pogamut.usar2004.agent.module.state.StateGround

public class StateGround
extends SuperState

State message representative for Ground vehicle.

Author:
vejmanm

Field Summary
static VehicleType type
           
 
Fields inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.state.SuperState
lastMessage, vehicleType
 
Constructor Summary
StateGround()
          Ctor.
 
Method Summary
 double getFrontSteer()
          Note: parameter only available for robots of “GroundVehicle” type.
 double getRearSteer()
          Note: parameter only available for robots of “GroundVehicle” type.
 
Methods inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.state.SuperState
getBattery, getFlashLightIntensity, getTime, getType, getVehicleType, isFlashLightToogle, 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 VehicleType type
Constructor Detail

StateGround

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

Method Detail

getFrontSteer

public double getFrontSteer()
Note: parameter only available for robots of “GroundVehicle” type. Current front steer angle of the robot, in radians.

Returns:
Returns front steer angle value

getRearSteer

public double getRearSteer()
Note: parameter only available for robots of “GroundVehicle” type. Current rear steer angle of the robot, in radians.

Returns:
Returns rear steer angle value.


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