function
SLAM.Mapping.RGBDCatalogMapping.EmptyDiagnostics
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| output | result | Diagnostics | |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function EmptyDiagnostics
output Diagnostics result;
algorithm
result.mapAccepted := 0.0; result.catalogUpdateRejectionReason := 0.0;
result.keyframeRejectionReason := 0; result.sequentialRejectionReason := 0;
result.catalogRejectionReason := 0; result.correctionReason := 0;
result.updateRejectionReason := 0.0; result.mapRejectionReason := 0.0; result.anchorRejectionReason := 0;
result.occupiedCount := 0.0; result.confirmedCount := 0.0; result.tentativeCount := 0.0;
result.insertedCount := 0.0; result.mergedCount := 0.0; result.prunedCount := 0.0;
result.droppedCount := 0.0; result.invalidCandidateCount := 0.0;
result.projectedCount := 0; result.evictedCount := 0; result.assignedCount := 0;
result.retainedCount := 0; result.clearedCount := 0;
result.loopAttempted := false;
result.loopRetrievalReason := 0;
result.loopGraphReason := 0;
result.loopCandidateCount := 0;
result.loopCandidateReferenceId := fill(0,RGBDKeyframeRetrieval.proposalCapacity);
result.loopCandidateCurrentId := fill(0,RGBDKeyframeRetrieval.proposalCapacity);
result.loopCandidateScore := fill(0.0,RGBDKeyframeRetrieval.proposalCapacity);
result.loopCandidateReason := fill(0,RGBDKeyframeRetrieval.proposalCapacity);
result.loopCandidateMatchedCount := fill(0,RGBDKeyframeRetrieval.proposalCapacity);
result.loopCandidateInliers := fill(0,RGBDKeyframeRetrieval.proposalCapacity);
result.loopCandidateRms := fill(0.0,RGBDKeyframeRetrieval.proposalCapacity);
result.loopCandidateVerified := fill(false,RGBDKeyframeRetrieval.proposalCapacity);
result.loopReferenceId := fill(0,loopCapacity); result.loopCurrentId := fill(0,loopCapacity);
result.loopScore := fill(0.0,loopCapacity);
end EmptyDiagnostics;