CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

function

LieGroups.SE23.Generic.identity

SE_2(3) identity

Public declarations

Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.

RoleNameTypeDimensions / attributes / defaultDescription
outputelementElement

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;