Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in EKF documentation #81

Open
Jormit opened this issue Aug 13, 2022 · 1 comment
Open

Error in EKF documentation #81

Jormit opened this issue Aug 13, 2022 · 1 comment

Comments

@Jormit
Copy link

Jormit commented Aug 13, 2022

For this definition of Omega, I believe the bottom right skew-symmetric matrix should have a negative sign in front of it.
image

@PeterBorisenko
Copy link

PeterBorisenko commented Jun 1, 2023

Indeed, a skew symmetric matrix looks like:

$$ \left[ \tilde{a} \right] = \left[ \begin{array}{c} 0 & -a_3 & a_2 \\ a_3 & 0 & -a_1 \\ -a_2 & a_1 & 0 \end{array} \right] $$

Just for clarity:

$$ 2 \dot{q}= \left[ \begin{array}{c} q_0 & -q_1 & -q_2 & -q_3 \\ q_1 & q_0 & -q_3 & q_2 \\ q_2 & q_3 & q_0 & -q_1 \\ q_3 & -q_2 & q_1 & q_0 \end{array} \right] \left[ \begin{array}{c} 0 \\ \omega \end{array} \right] = \left[ \begin{array}{c} -q_1 \omega_0 - q_2 \omega_1 - q_3 \omega_2 \\ q_0 \omega_0 - q_3 \omega_1 + q_2 \omega_2 \\ q_3 \omega_0 + q_0 \omega_1 - q_1 \omega_2 \\ -q_2 \omega_0 + q_1 \omega_1 + q_0 \omega_2 \end{array} \right] = \left[ \begin{array}{c} 0 - \omega_0 - \omega_1 - \omega_2 \\ \omega_0 + 0 + \omega_2 - \omega_1 \\ \omega_1 - \omega_2 + 0 + \omega_0 \\ \omega_2 + \omega_1 - \omega_0 + 0 \end{array} \right] q = \left[ \begin{array}{c} 0 & -\omega^T \\ \omega & \left[ \tilde{\omega} \right] ^T \end{array} \right]q $$

$$ -\left[ \tilde{\omega} \right] = \left[ \tilde{\omega} \right]^T $$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants