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

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

public class StateNautic
extends SuperState

State message representative for Nautic 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
StateNautic()
          Ctor.
 
Method Summary
 double getRudderAngle()
          Note: parameter only available for robots of “NauticVehicle” type.
 double getRudderSteer()
          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

StateNautic

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

getRudderAngle

public double getRudderAngle()
Note: parameter only available for robots of “NauticVehicle” type. Current rudder angle of the robot, in radians.

Returns:
Returns rudder angle.

getRudderSteer

public double getRudderSteer()
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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.