function
SLAM.Mapping.RGBDCatalogPoseMapping.FromCatalog
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | catalog | RGBDKeyframes.Catalog | | |
| input | sourceRevision | Integer | | |
| output | poses | PoseView | |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function FromCatalog
input RGBDKeyframes.Catalog catalog; input Integer sourceRevision; output PoseView poses;
algorithm
poses.generation := catalog.generation; poses.sourceRevision := sourceRevision; poses.revision := 0;
poses.catalogNextId := catalog.nextId; poses.enabled := catalog.occupied; poses.ids := catalog.ids;
poses.positions := catalog.bodyPositions; poses.rotations := catalog.bodyRotations;
end FromCatalog;