AskSia
Plus
Problem 13. Frame
{
B
}
\{B\}
{
B
}
is initially coincident with frame
{
A
}
\{A\}
{
A
}
. Frame $\{...
Aug 6, 2024
Solution by Steps
step 1
Identify the rotation vector
R
^
\hat{R}
R
^
and the angle of rotation
θ
\theta
θ
. Here,
R
^
=
[
0.744
−
0.62
0.248
]
\hat{R} = \left[\begin{array}{c} 0.744 \\ -0.62 \\ 0.248 \end{array}\right]
R
^
=
0.744
−
0.62
0.248
and
θ
=
6
0
∘
\theta = 60^\circ
θ
=
6
0
∘
step 2
Convert the angle
θ
\theta
θ
from degrees to radians:
θ
=
6
0
∘
=
π
3
\theta = 60^\circ = \frac{\pi}{3}
θ
=
6
0
∘
=
3
π
radians
step 3
Use the Rodrigues' rotation formula to find the rotation matrix
R
R
R
. The formula is
R
=
I
+
sin
(
θ
)
K
+
(
1
−
cos
(
θ
)
)
K
2
R = I + \sin(\theta)K + (1 - \cos(\theta))K^2
R
=
I
+
sin
(
θ
)
K
+
(
1
−
cos
(
θ
))
K
2
, where
K
K
K
is the skew-symmetric matrix of
R
^
\hat{R}
R
^
step 4
Construct the skew-symmetric matrix
K
K
K
from
R
^
\hat{R}
R
^
:
K
=
[
0
a
m
p
;
−
0.248
a
m
p
;
0.62
0.248
a
m
p
;
0
a
m
p
;
−
0.744
−
0.62
a
m
p
;
0.744
a
m
p
;
0
]
K = \left[\begin{array}{ccc} 0 & -0.248 & 0.62 \\ 0.248 & 0 & -0.744 \\ -0.62 & 0.744 & 0 \end{array}\right]
K
=
0
0.248
−
0.62
am
p
;
−
0.248
am
p
;
0
am
p
;
0.744
am
p
;
0.62
am
p
;
−
0.744
am
p
;
0
step 5
Calculate
sin
(
θ
)
\sin(\theta)
sin
(
θ
)
and
cos
(
θ
)
\cos(\theta)
cos
(
θ
)
:
sin
(
π
3
)
=
3
2
\sin\left(\frac{\pi}{3}\right) = \frac{\sqrt{3}}{2}
sin
(
3
π
)
=
2
3
and
cos
(
π
3
)
=
1
2
\cos\left(\frac{\pi}{3}\right) = \frac{1}{2}
cos
(
3
π
)
=
2
1
step 6
Substitute
sin
(
θ
)
\sin(\theta)
sin
(
θ
)
,
cos
(
θ
)
\cos(\theta)
cos
(
θ
)
, and
K
K
K
into the Rodrigues' rotation formula to find
R
R
R
step 7
For part (1), since the position of point
P
P
P
is
[
0
0
0
]
\left[\begin{array}{c} 0 \\ 0 \\ 0 \end{array}\right]
0
0
0
, the transformation matrix
B
A
T
{ }_{B}^{A} T
B
A
T
is simply the rotation matrix
R
R
R
step 8
For part (2), the position of point
P
P
P
is
[
2
0
0
]
\left[\begin{array}{c} 2 \\ 0 \\ 0 \end{array}\right]
2
0
0
. The transformation matrix
B
A
T
{ }_{B}^{A} T
B
A
T
will include both the rotation matrix
R
R
R
and the translation vector
step 9
Construct the transformation matrix
B
A
T
{ }_{B}^{A} T
B
A
T
for part (2) as:
B
A
T
=
[
R
a
m
p
;
t
0
a
m
p
;
1
]
{ }_{B}^{A} T = \left[\begin{array}{cc} R & \mathbf{t} \\ 0 & 1 \end{array}\right]
B
A
T
=
[
R
0
am
p
;
t
am
p
;
1
]
, where
t
\mathbf{t}
t
is the translation vector
step 10
Calculate the translation vector
t
\mathbf{t}
t
by applying the rotation to the position of point
P
P
P
:
t
=
R
[
2
0
0
]
−
[
2
0
0
]
\mathbf{t} = R \left[\begin{array}{c} 2 \\ 0 \\ 0 \end{array}\right] - \left[\begin{array}{c} 2 \\ 0 \\ 0 \end{array}\right]
t
=
R
2
0
0
−
2
0
0
Answer
The transformation matrix for part (1) is the rotation matrix
R
R
R
.
The transformation matrix for part (2) is
B
A
T
=
[
R
a
m
p
;
t
0
a
m
p
;
1
]
{ }_{B}^{A} T = \left[\begin{array}{cc} R & \mathbf{t} \\ 0 & 1 \end{array}\right]
B
A
T
=
[
R
0
am
p
;
t
am
p
;
1
]
.
Key Concept
Rodrigues' rotation formula
Explanation
Rodrigues' rotation formula is used to compute the rotation matrix given an axis and an angle of rotation.
Continue to AskSia
© 2023 AskSia.AI all rights reserved
Terms of use
Privacy Policy