function
SLAM.PoseGraph.RGBDGraphMeasurements.Empty
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | generation | Integer | = 1 | |
| output | result | State | |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function Empty
input Integer generation = 1;
output State result;
protected
Edge empty;
algorithm
result.generation := generation; result.revision := 0;
result.lastCaptureId := 0; result.nextEdgeId := 1;
empty := EmptyEdge();
for slot in 1:edgeCapacity loop result.edges[slot] := empty; end for;
end Empty;