functionaxisRotation

Return rotation object to rotate around an angle along one frame axis

Extends from Modelica.Icons.Function (Icon for functions).

Information

Syntax

R = Frames.axisRotation(axis, angle, der_angle);

Description

The function call Frames.axisRotation(axis, angle, der_angle) returns orientation object R that describes the orientation to rotate along unit axis axis from frame 1 into frame 2 with angle angle and derivative of angle der_angle. For example, Frames.axisRotation(2, phi, der_phi) returns the same orientation object as with the call Frames.planarRotation({0,1,0}, phi, der_phi)

See also

planarRotation, TransformationMatrices.axisRotation.

Inputs

TypeNameDefaultDescription
IntegeraxisRotate around 'axis' of frame 1
SI.AngleangleRotation angle to rotate frame 1 into frame 2 along 'axis' of frame 1
SI.AngularVelocityder_angle= der(angle)

Outputs

TypeNameDefaultDescription
OrientationROrientation object to rotate frame 1 into frame 2