/* (GUI NN Panel) Drives the Parts Missing Non-Normative */ public void msgPartsMissing(int num) // nest num { print("Received part missing non-normative"); FactoryState.out.println("Received part missing non-normative"); badRequests.add(new BadRequest(num, BadRequestState.partsMissing)); stateChanged(); }
/* (Nest) Requests to verify parts and take picture when we have unstable parts */ public void msgVerifyPartsUnstable(List<Part> visionParts, NestAgent nest) { requests.add(new CheckRequest(visionParts, nest, RequestState.partsUnstable)); stateChanged(); }
/* (Nest) Requests to verify parts and take picture when there's a camera error */ public void msgVerifyPartsCameraError(List<Part> visionParts, NestAgent nest) { requests.add(new CheckRequest(visionParts, nest, RequestState.cameraError)); stateChanged(); }
/* (Nest) Requests to verify parts and take picture when partrobot is photobombing */ public void msgVerifyPartsPhotobombing(List<Part> visionParts, NestAgent nest) { requests.add(new CheckRequest(visionParts, nest, RequestState.photobombing)); stateChanged(); }