public static enum Payload.ParametersWarning extends Enum<Payload.ParametersWarning>
This enum represents the different types of warnings that the parameters of a payload can have.
A payload can be usable, but may have a value for a payload parameter or may have a combination of (some of the) payload parameters, that could affect performance of the robot, if the payload is used (i.e., if the parameters are applied).Enum Constant and Description |
---|
MASS_0KG
The payload has a mass of 0 kg which is most likely not intended/valid.
|
MASS_AND_CENTER_OF_GRAVITY_EXCEEDED
The combination of the mass and the center of gravity could affect the performance of the robot, if the
payload is used.
|
NO_WARNING
None of the parameters of the payload or the combination of payload parameters has any warnings.
|
RATED_MASS_EXCEEDED
The mass of the payload exceeds the rated maximum supported payload mass of the robot.
|
Modifier and Type | Method and Description |
---|---|
static Payload.ParametersWarning |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payload.ParametersWarning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payload.ParametersWarning NO_WARNING
public static final Payload.ParametersWarning MASS_0KG
public static final Payload.ParametersWarning RATED_MASS_EXCEEDED
public static final Payload.ParametersWarning MASS_AND_CENTER_OF_GRAVITY_EXCEEDED
public static Payload.ParametersWarning[] values()
for (Payload.ParametersWarning c : Payload.ParametersWarning.values()) System.out.println(c);
public static Payload.ParametersWarning valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.