|
||||||||||
| 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.MaxAcceleration
public class MaxAcceleration
Property describing the max allowed acceleration on an edge.
| Constructor Summary | |
|---|---|
MaxAcceleration()
Constructs a new max acceleration property with value 1.0. |
|
MaxAcceleration(double maxAcc)
Creates a new property. |
|
| Method Summary | |
|---|---|
static MaxAcceleration |
get(PropertyHolder e,
Integer robotTypeId)
Helper function to retrieve this property from an edge. |
Double |
getMaxAcceleration()
|
String |
getValueToDisplay()
Returns the value(s) in a way to show it in a UI. |
static MaxAcceleration |
parse(String value)
Parses the max accelerations from the given string. |
static void |
set(PropertyHolder e,
Integer robotTypeId,
double value)
Helper function to set this property for an edge. |
void |
setMaxAcceleration(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 MaxAcceleration(double maxAcc)
maxAcc - the max x accelerationpublic MaxAcceleration()
| Method Detail |
|---|
public Double getMaxAcceleration()
public void setMaxAcceleration(Double value)
value - the new value for max accelerationpublic String toString()
toString in class Object
public static MaxAcceleration 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 acceleration valuepublic static MaxAcceleration parse(String value)
value - The string representing max accelerations.
public String getValueToDisplay()
Property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||