Skip to contents

The left Jacobian \(J_l(\omega) = I + \frac{1 - \cos\theta}{\theta^2} \hat\omega + \frac{\theta - \sin\theta}{\theta^3}\hat\omega^2\) satisfies \(\exp(\widehat{\omega + \delta}) \approx \exp(\widehat{J_l \delta}) \exp(\hat\omega)\) for small \(\delta\). The right Jacobian is \(J_r(\omega) = J_l(-\omega)\). Inverses use closed forms with Taylor expansions near zero. The inverses are singular at \(\theta = 2\pi k\), \(k \ne 0\); rotation vectors returned by so3_log() have \(\theta \le \pi\) and never reach that singularity.

Usage

so3_jacobian_left(x)

so3_jacobian_right(x)

so3_jacobian_left_inverse(x)

so3_jacobian_right_inverse(x)

Arguments

x

Rotation vector.

Value

A 3 by 3 matrix.

Examples

w <- c(0.1, -0.2, 0.3)
so3_jacobian_left(w) %*% so3_jacobian_left_inverse(w)
#>               [,1]         [,2]          [,3]
#> [1,]  1.000000e+00 5.306877e-17 -2.028362e-17
#> [2,] -6.032920e-18 1.000000e+00  5.359549e-17
#> [3,] -4.188337e-17 4.924454e-17  1.000000e+00