|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.fleet.graph.properties.AbstractProperty
com.kuka.nav.fleet.graph.properties.MaxVelocity
public class MaxVelocity
Property limiting the maximum velocity along a graph edge.
| Constructor Summary | |
|---|---|
MaxVelocity()
Constructs a new max velocity property with value 1.0. |
|
MaxVelocity(double maxVel)
|
|
| Method Summary | |
|---|---|
static MaxVelocity |
get(PropertyHolder e,
Integer robotTypeId)
Helper function to retrieve this property from an edge. |
Double |
getMaxVelocity()
|
String |
getValueToDisplay()
Returns the value(s) in a way to show it in a UI. |
static MaxVelocity |
parse(String value)
Parses the max velocities from the given string. |
static void |
set(PropertyHolder e,
Integer robotTypeId,
double value)
Helper function to set this property for an edge. |
void |
setMaxVelocity(Double value)
|
String |
toString()
|
| Methods inherited from class com.kuka.nav.fleet.graph.properties.AbstractProperty |
|---|
equals, fireChanged, getAllowedTypes, getId, hashCode, setId, tryGetParamFromString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MaxVelocity(double maxVel)
maxVel - The maximum velocity.public MaxVelocity()
| Method Detail |
|---|
public Double getMaxVelocity()
public void setMaxVelocity(Double value)
value - the new value for max velocitypublic String toString()
toString in class Object
public static MaxVelocity get(PropertyHolder e,
Integer robotTypeId)
e - an edgerobotTypeId - a robot type id
public static void set(PropertyHolder e,
Integer robotTypeId,
double value)
e - an edgerobotTypeId - a robot type idvalue - the new max velocity valuepublic static MaxVelocity parse(String value)
value - The string representing max velocities.
public String getValueToDisplay()
Property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||