com.kuka.nav.robot
Enum DriveType

java.lang.Object
  extended by java.lang.Enum<DriveType>
      extended by com.kuka.nav.robot.DriveType
All Implemented Interfaces:
Serializable, Comparable<DriveType>

public enum DriveType
extends Enum<DriveType>

Represents the drive type of a mobile robot.


Enum Constant Summary
DIFFERENTIAL
          Represents the drive type of robots with differential kinematics.
HOLONOMIC
          Represents the drive type of robots with holonomic, i.e. omnidirectional kinematics.
 
Method Summary
 String getName()
          Returns the name of this drive type.
static DriveType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DriveType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
static DriveType withName(String name)
          Creates the error type from the given name.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DIFFERENTIAL

public static final DriveType DIFFERENTIAL
Represents the drive type of robots with differential kinematics.


HOLONOMIC

public static final DriveType HOLONOMIC
Represents the drive type of robots with holonomic, i.e. omnidirectional kinematics.

Method Detail

values

public static DriveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DriveType c : DriveType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DriveType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getName

public String getName()
Returns the name of this drive type.

Returns:
the name of this drive type

withName

public static DriveType withName(String name)
Creates the error type from the given name.

Parameters:
name - the name
Returns:
the error type


Copyright © 2019. All rights reserved.