Methods
# inner configuredRobotActivitesCorrectly(attributeObjects) → {Boolean}
Will return a boolean regarding the correct configuration regarding the given attributeObjects of a robot.
If an attribute has no specified application or task, the attribute is not correctly configured.
Parameters:
Name | Type | Description |
---|---|---|
attributeObjects |
Array | Array of attributeObjects that will be checked |
View Source frontend/src/components/pages/RobotInteractionCockpit/robotInteractionCockpitFunctionality/robotInteractionCockpitFunctionality.js, line 42
A boolean value regarding the correctness of the attribute configuration
Boolean
# inner configuredRobotParamsCorrectly(parameterObjects) → {Boolean}
Will return a boolean regarding the correct configuration of the given parameterObejcts belonging to a robot.
If a paramter is required and no value is passed and the value will not be specified later by the user, the paramter is not correctly configured.
Parameters:
Name | Type | Description |
---|---|---|
parameterObjects |
Array | Array of parameterObjects that will be checked |
View Source frontend/src/components/pages/RobotInteractionCockpit/robotInteractionCockpitFunctionality/robotInteractionCockpitFunctionality.js, line 15
Boolean value regarding the correctness of the parameter configuration
Boolean
# inner getActivityAndParameterInformation(robotId, setParameterList, isMounted)
Get the id, the name and all the parameters for each activity of the current robot that require a user input
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot for which all parameters will be retrieved |
setParameterList |
function | Setter function for the component state parameterList |
isMounted |
Object | Describes if the component is currently mounted or not |
# async inner isRobotExecutable(robotId) → {Boolean}
Will return a boolean regarding the correct configuration of a robot.
If a robot has incorrectly configured attributes or parameters, then the robot is not correctly configured.
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | RobotId of the robot that will be checked |
View Source frontend/src/components/pages/RobotInteractionCockpit/robotInteractionCockpitFunctionality/robotInteractionCockpitFunctionality.js, line 69
Boolean value regarding the executability of the robot
Boolean