Skip to content

Commit 63a135d

Browse files
committed
Explain these alternative representations in more detail
1 parent 67ae73c commit 63a135d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

programming/sr/vision/index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,15 @@ roll
239239

240240
This differs from `rot_x` in the zero point and direction to increase the value.
241241

242+
Finally there are attributes which express the orientation in other forms:
242243

243244
rotation_matrix
244-
: The [rotation matrix](https://en.wikipedia.org/wiki/Rotation_matrix) represented by this orientation. A list of 3 lists, each with 3 items.
245+
: The [rotation matrix](https://en.wikipedia.org/wiki/Rotation_matrix) represented by this orientation.
246+
This 3×3 matrix is represented by a list of 3 lists, each with 3 values, in an arrangement compatible with tools such as `numpy`.
245247

246248
quaternion
247-
: The [Quarternion](https://kieranwynn.github.io/pyquaternion/#quaternion-features) instance represented by this orientation.
249+
: The [quarternion](https://en.wikipedia.org/wiki/Quaternion) represented by this orientation.
250+
On the physical kits this is implemented as a [`pyquaternion.Quaternion`](https://kieranwynn.github.io/pyquaternion/#quaternion-features) instance.
248251

249252
<a id="Spherical"/>
250253

0 commit comments

Comments
 (0)