Skip to content
Snippets Groups Projects
Commit fd77cc1f authored by René Schöne's avatar René Schöne
Browse files

update

- remove operations Pick, Place
parent 0d84a0cd
No related branches found
No related tags found
No related merge requests found
......@@ -403,12 +403,6 @@ aspect AttributeMappings {
}
return null;
}
eq Pick.toProtobufByteArray() {
throw new RuntimeException("Separate Pick operation not supported yet!");
}
eq Place.toProtobufByteArray() {
throw new RuntimeException("Separate Place operation not supported yet!");
}
eq PickAndPlace.toProtobufByteArray() = de.tudresden.inf.st.ceti.Command.newBuilder()
.setPickAndPlace(de.tudresden.inf.st.ceti.PickAndPlace.newBuilder()
.setIdRobot(getRobotToExecute().getName())
......@@ -567,8 +561,6 @@ aspect Printing {
eq PickAndPlace.prettyPrint() {
return "+PickAndPlace by " + getRobotToExecute().prettyPrint() + " of " + getObjectToPick().prettyPrint() + " -> " + getTargetLocation().prettyPrint() + "+";
}
eq Pick.prettyPrint() = "+Pick not implemented+";
eq Place.prettyPrint() = "+Place not implemented+";
eq ErrorOperation.prettyPrint() {
return "+Error: " + getErrorMessage() + "+";
}
......
......@@ -22,12 +22,6 @@ abstract Operation ;
rel Operation.RobotToExecute? -> Robot ;
ErrorOperation : Operation ::= <ErrorMessage:String> ;
Pick : Operation ;
rel Pick.ObjectToPick -> LogicalMovableObject ;
Place : Operation ;
rel Place.TargetLocation -> DropOffLocation ;
PickAndPlace : Operation ;
rel PickAndPlace.ObjectToPick -> LogicalMovableObject ;
rel PickAndPlace.TargetLocation -> DropOffLocation ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment