function
LieGroups.SE23.Generic.identity
SE_2(3) identity
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| output | element | Element | |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function identity "SE_2(3) identity"
output Element element;
algorithm
element.position := zeros(3);
element.velocity := zeros(3);
element.rotation := Rotation.identity();
end identity;