
modelSwitch
Switch between two or more Pose signals
Extends from StewartPlatform.Icons.Switch (Icon for 'Switch' model).
Parameters
| Type | Name | Default | Description |
| Integer | n | 2 | Number of different input signals |
| SwitchTimeDef | timeDef | SwitchTimeDef.periods | Select how to define the switch time instants |
| SI.Time | startTime | 0 | The output is the first signal for time<startTime+period[1]) |
| SI.Time[n - 1] | period | {0 for i in 1:n - 1} | Duration of each signal (set n-1 periods) |
| SI.Time[n - 1] | switchTime | {0 for i in 1:n - 1} | Time instants when to switch signal (set n-1 times) |
Contents
| Name | Description |
| fill_timeInstantsprotected | Function to fill the elements of 'timeInstants' array |