blockWrapAngle

Wrap angle to interval ]-pi,pi] or [0,2*pi[

Extends from Interfaces.SISO (Single Input Single Output continuous control block).

Information

This blocks wraps the input angle into the interval ]-pi,pi], if positiveRange == false. Otherwise the input angle u is wrapped to the interval [0,2*pi[.

Parameters

TypeNameDefaultDescription
BooleanpositiveRangefalseUse only positive output range, if true

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal