| Input: Sensor data |
| Output: Control command |
| Begin |
| If the sensor data is lostthen |
| Compute û(k) using (1) |
| Else |
| Compute u(k) using pre-designed control algorithm(s) |
| End if |
| Store u(k) or û(k) in memory |
| Discard u(k-m) in the memory |
| Perform actions corresponding to u(k) or û(k) |
| End |