|
Algorithm 1: Tightly coupled motion-capture algorithm (TCMA) |
| Input: Sensor measurements , an initial state estimate with covariance , process and measurement noise covariance matrices and ; see (4), (13) and (14). |
| Output: Estimates of the system states and the respective covariance for . |
| 1: for do
|
| 2: Time update Compute the state prediction by numerically integrating the noise-free dynamics in (4) from the previous estimate over one time step ,
|
| Compute the predicted state covariance as
|
| where the discrete-time state transition Jacobian is approximated by discretizing the continuous-time Jacobian as , with computed numerically. |
| 3: Measurement update
|
| 4: for until do
|
| 5: Update the state with measurements as
|
| where
. |
| 6: Compute the filtered state and covariance
|