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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | positiveRange | false | Use only positive output range, if true |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |