Skip to content

Commit 86bad87

Browse files
committed
Comments
1 parent e6c355a commit 86bad87

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

multibody/tree/mobilized_body.h

+12-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ where Hv_FM = ∂p_FM/∂q ⋅ N is the last three rows in H_FM.
176176
177177
The angular velocity w_FM component of the spatial velocity V_FM can be
178178
related to the time derivative of the rotation matrix R_FM in X_FM. The
179-
time derivative of a rotation matrix R is Ṙ = [ω]R where [ω] is the
179+
time derivative of a rotation matrix R is Ṙ = [ω]R where [ω] (=ṘRᵀ) is the
180180
skew-symmetric cross product matrix formed from the angular velocity ω.
181181
We have the identity Rᵀ[ω]R=[Rᵀω] for orthogonal R. Premultiplying the Ṙ
182182
equation by Rᵀ then gives [Rᵀω] = RᵀṘ which we can use to write
@@ -194,6 +194,17 @@ or [Hw_FM ⋅ v] = ∂R_FM/∂q ⋅ N ⋅ v ⋅ R_FMᵀ
194194
195195
TODO(alejandro) Can the above be simplified to get rid of v to provide a
196196
more-direct relationship between Hw_FM and ∂R_FM/∂q as we have for translation?
197+
Here is the best I've come up with so far:
198+
199+
Dropping the frames for clarity, we can write the RHS as
200+
| ∂R₀Rᵀ ∂R₁Rᵀ ∂R₂Rᵀ ∂R₃Rᵀ | ⋅ N ⋅ v
201+
where ∂Rᵢ≜∂R/∂qᵢ.
202+
203+
That matrix can be viewed as a 1 x 4 hypermatrix (each entry is 3x3)
204+
compatible with the 4 x 3 N matrix, yielding a 1 x 3. The final multiply by
205+
v (3 x 1) yields a single (1x1) 3x3 matrix, matching the LHS. That 1x3
206+
matrix | ∑Nᵢ₀∂RᵢRᵀ ∑Nᵢ₁∂RᵢRᵀ ∑Nᵢ₂∂RᵢRᵀ | consists of the three columns of
207+
Hw_FM (each a 3 vector) written as a skew-symmetric matrix.
197208
198209
199210
Active forces and power

0 commit comments

Comments
 (0)