|
26 | 26 | { |
27 | 27 | "cell_type": "markdown", |
28 | 28 | "source": [ |
29 | | - "A `gtsam.Rot3` represents a rotation in 3D space. It can be manipulated and presented as a rotation matrix, a quaternion, roll-pitch-yaw angles (Euler angles), or as an axis-angle combination. It models a 3D rotation in the [Special Orthogonal Group $\\text{SO}(3)$](https://en.wikipedia.org/wiki/SO(3)), which is a [Lie group](https://en.wikipedia.org/wiki/Lie_group)." |
| 29 | + "A `gtsam.Rot3` represents an orientation or attitude in 3D space. It can be manipulated and presented as a rotation matrix $ R \\in \\mathbb{R}^{3 \\times 3} $, a unit quaternion, roll-pitch-yaw (Euler) angles $ (\\phi, \\theta, \\psi) $, or as an axis-angle representation $ (\\hat{\\omega}, \\theta) $ with $ \\hat{\\omega} \\in \\mathbb{R}^3 $ and $ \\theta \\in \\mathbb{R} $. It models a 3D orientation as both a manifold in $ \\mathcal{SO}(3) $ and as a Lie group in $ \\text{SO}(3) $. Internally, it is stored as a $ 3 \\times 3 $ rotation matrix but can be configured to use quaternions at build time for efficiency." |
30 | 30 | ], |
31 | 31 | "metadata": { |
32 | 32 | "id": "YqaxPKyloJG_" |
|
43 | 43 | }, |
44 | 44 | { |
45 | 45 | "cell_type": "code", |
46 | | - "execution_count": 1, |
| 46 | + "execution_count": null, |
47 | 47 | "metadata": { |
48 | | - "colab": { |
49 | | - "base_uri": "https://localhost:8080/" |
50 | | - }, |
51 | | - "id": "HyXPOMakoDkY", |
52 | | - "outputId": "665a19a8-4265-4d54-bc43-b5f4df9b62c8" |
| 48 | + "id": "HyXPOMakoDkY" |
53 | 49 | }, |
54 | | - "outputs": [ |
55 | | - { |
56 | | - "output_type": "stream", |
57 | | - "name": "stdout", |
58 | | - "text": [ |
59 | | - "Collecting gtsam\n", |
60 | | - " Downloading gtsam-4.2-cp311-cp311-manylinux2014_x86_64.whl.metadata (7.6 kB)\n", |
61 | | - "Requirement already satisfied: numpy>=1.11.0 in /usr/local/lib/python3.11/dist-packages (from gtsam) (1.26.4)\n", |
62 | | - "Requirement already satisfied: pyparsing>=2.4.2 in /usr/local/lib/python3.11/dist-packages (from gtsam) (3.2.1)\n", |
63 | | - "Downloading gtsam-4.2-cp311-cp311-manylinux2014_x86_64.whl (22.4 MB)\n", |
64 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m22.4/22.4 MB\u001b[0m \u001b[31m10.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
65 | | - "\u001b[?25hInstalling collected packages: gtsam\n", |
66 | | - "Successfully installed gtsam-4.2\n" |
67 | | - ] |
68 | | - } |
69 | | - ], |
| 50 | + "outputs": [], |
70 | 51 | "source": [ |
71 | 52 | "%pip install gtsam" |
72 | 53 | ] |
|
81 | 62 | "metadata": { |
82 | 63 | "id": "_fWy46Mepoxh" |
83 | 64 | }, |
84 | | - "execution_count": 2, |
| 65 | + "execution_count": null, |
85 | 66 | "outputs": [] |
86 | 67 | }, |
87 | 68 | { |
|
96 | 77 | { |
97 | 78 | "cell_type": "markdown", |
98 | 79 | "source": [ |
99 | | - "A `Rot3` can be initialized in many different ways, which are detailed in this section. Note that printing a `Rot3` displays its 3x3 rotation matrix representation, which in general is a 3x3 matrix where the columns are unit vectors that define a coordinate frame." |
| 80 | + "A `Rot3` can be initialized in many different ways, which are detailed in this section. Note that printing a `Rot3` displays its 3x3 rotation matrix representation, which in general is a 3x3 matrix where the columns are unit vectors that define the orientation's coordinate frame." |
100 | 81 | ], |
101 | 82 | "metadata": { |
102 | 83 | "id": "RrJ5ZEdhqJPU" |
|
148 | 129 | "id": "mj8X-wIdq6GR", |
149 | 130 | "outputId": "48a6921d-df39-4fd8-aaf8-76d4bcdb70b1" |
150 | 131 | }, |
151 | | - "execution_count": 3, |
| 132 | + "execution_count": null, |
152 | 133 | "outputs": [ |
153 | 134 | { |
154 | 135 | "output_type": "stream", |
|
220 | 201 | "id": "GcAB8GtVaLjK", |
221 | 202 | "outputId": "b9e701cd-6a3f-4171-a518-158a2f7b60fd" |
222 | 203 | }, |
223 | | - "execution_count": 4, |
| 204 | + "execution_count": null, |
224 | 205 | "outputs": [ |
225 | 206 | { |
226 | 207 | "output_type": "stream", |
|
277 | 258 | "id": "w-qh5dX6VWAW", |
278 | 259 | "outputId": "8fe29ae6-eb47-4460-c27b-3acd8ee5e5bf" |
279 | 260 | }, |
280 | | - "execution_count": 5, |
| 261 | + "execution_count": null, |
281 | 262 | "outputs": [ |
282 | 263 | { |
283 | 264 | "output_type": "stream", |
|
354 | 335 | "id": "bGEMGXkpYT9t", |
355 | 336 | "outputId": "31655b9f-045f-4b51-dff2-42de4382427f" |
356 | 337 | }, |
357 | | - "execution_count": 6, |
| 338 | + "execution_count": null, |
358 | 339 | "outputs": [ |
359 | 340 | { |
360 | 341 | "output_type": "stream", |
|
412 | 393 | "id": "uO9hb2RBaG3g", |
413 | 394 | "outputId": "5409ef2e-3651-439b-af9f-6ed7888aa9d5" |
414 | 395 | }, |
415 | | - "execution_count": 7, |
| 396 | + "execution_count": null, |
416 | 397 | "outputs": [ |
417 | 398 | { |
418 | 399 | "output_type": "stream", |
|
451 | 432 | "id": "M_OOSKgAaqhF", |
452 | 433 | "outputId": "cbb875b7-9204-4a90-c225-dbea46718c6f" |
453 | 434 | }, |
454 | | - "execution_count": 8, |
| 435 | + "execution_count": null, |
455 | 436 | "outputs": [ |
456 | 437 | { |
457 | 438 | "output_type": "stream", |
|
491 | 472 | "id": "NUgeRQzIcqYp", |
492 | 473 | "outputId": "8c189748-267b-4c25-e0cf-4eed8721bc4a" |
493 | 474 | }, |
494 | | - "execution_count": 9, |
| 475 | + "execution_count": null, |
495 | 476 | "outputs": [ |
496 | 477 | { |
497 | 478 | "output_type": "stream", |
|
537 | 518 | "id": "EFMbwiTKfLfJ", |
538 | 519 | "outputId": "72bf7784-6a8c-4052-c444-d85d6d9014e7" |
539 | 520 | }, |
540 | | - "execution_count": 10, |
| 521 | + "execution_count": null, |
541 | 522 | "outputs": [ |
542 | 523 | { |
543 | 524 | "output_type": "stream", |
|
610 | 591 | "id": "zbNPBHiwDAE2", |
611 | 592 | "outputId": "716f9db1-f7c7-4418-f7c7-5c6bae0b6a2c" |
612 | 593 | }, |
613 | | - "execution_count": 11, |
| 594 | + "execution_count": null, |
614 | 595 | "outputs": [ |
615 | 596 | { |
616 | 597 | "output_type": "stream", |
|
683 | 664 | "id": "rtbkHyp3GgWx", |
684 | 665 | "outputId": "43b1178c-39d3-4df2-face-9e8cef162cdd" |
685 | 666 | }, |
686 | | - "execution_count": 12, |
| 667 | + "execution_count": null, |
687 | 668 | "outputs": [ |
688 | 669 | { |
689 | 670 | "output_type": "stream", |
|
723 | 704 | "id": "MYiKxq4vItz3", |
724 | 705 | "outputId": "e8f8fdd0-c539-476f-f233-2f78f98ca671" |
725 | 706 | }, |
726 | | - "execution_count": 13, |
| 707 | + "execution_count": null, |
727 | 708 | "outputs": [ |
728 | 709 | { |
729 | 710 | "output_type": "stream", |
|
767 | 748 | "id": "y45qZPivHkRR", |
768 | 749 | "outputId": "e2320424-004f-47bf-e844-bf04df63a916" |
769 | 750 | }, |
770 | | - "execution_count": 14, |
| 751 | + "execution_count": null, |
771 | 752 | "outputs": [ |
772 | 753 | { |
773 | 754 | "output_type": "stream", |
|
818 | 799 | "id": "axvFPtxYdGru", |
819 | 800 | "outputId": "977f9582-5b23-43c7-a6f5-a7bfce6d5cea" |
820 | 801 | }, |
821 | | - "execution_count": 15, |
| 802 | + "execution_count": null, |
822 | 803 | "outputs": [ |
823 | 804 | { |
824 | 805 | "output_type": "stream", |
|
859 | 840 | "id": "ffVBzuOhGugd", |
860 | 841 | "outputId": "ff207bed-850c-422a-d9a6-a0b59e801989" |
861 | 842 | }, |
862 | | - "execution_count": 16, |
| 843 | + "execution_count": null, |
863 | 844 | "outputs": [ |
864 | 845 | { |
865 | 846 | "output_type": "stream", |
|
903 | 884 | "id": "4zXJJ77FdLBB", |
904 | 885 | "outputId": "c5875121-0d97-475c-8669-93b92ac37c1b" |
905 | 886 | }, |
906 | | - "execution_count": 17, |
| 887 | + "execution_count": null, |
907 | 888 | "outputs": [ |
908 | 889 | { |
909 | 890 | "output_type": "stream", |
|
947 | 928 | "id": "_qGyDV15dgmU", |
948 | 929 | "outputId": "be748925-3425-41c7-b06b-57ab87955699" |
949 | 930 | }, |
950 | | - "execution_count": 18, |
| 931 | + "execution_count": null, |
951 | 932 | "outputs": [ |
952 | 933 | { |
953 | 934 | "output_type": "stream", |
|
985 | 966 | "id": "SchtjDIPfXtb", |
986 | 967 | "outputId": "7d199a1e-b9a7-4775-81e7-9c1328012b89" |
987 | 968 | }, |
988 | | - "execution_count": 19, |
| 969 | + "execution_count": null, |
989 | 970 | "outputs": [ |
990 | 971 | { |
991 | 972 | "output_type": "stream", |
|
1026 | 1007 | "id": "ysQSPxuwfnen", |
1027 | 1008 | "outputId": "4a7d8404-fc2a-46ca-ba18-236fd417382b" |
1028 | 1009 | }, |
1029 | | - "execution_count": 20, |
| 1010 | + "execution_count": null, |
1030 | 1011 | "outputs": [ |
1031 | 1012 | { |
1032 | 1013 | "output_type": "stream", |
|
1125 | 1106 | }, |
1126 | 1107 | "outputId": "e0c75e07-2b6d-4f84-a90d-f1cceb3ad9fa" |
1127 | 1108 | }, |
1128 | | - "execution_count": 25, |
| 1109 | + "execution_count": null, |
1129 | 1110 | "outputs": [ |
1130 | 1111 | { |
1131 | 1112 | "output_type": "stream", |
|
1227 | 1208 | "id": "0V2oQQ0lxS2-", |
1228 | 1209 | "outputId": "62b40acb-799e-4a91-dacd-c9e0266665c3" |
1229 | 1210 | }, |
1230 | | - "execution_count": 26, |
| 1211 | + "execution_count": null, |
1231 | 1212 | "outputs": [ |
1232 | 1213 | { |
1233 | 1214 | "output_type": "stream", |
|
1257 | 1238 | "id": "-kTgSGJS06EC", |
1258 | 1239 | "outputId": "97051c49-284e-4ee8-d806-53f0d842fc31" |
1259 | 1240 | }, |
1260 | | - "execution_count": 27, |
| 1241 | + "execution_count": null, |
1261 | 1242 | "outputs": [ |
1262 | 1243 | { |
1263 | 1244 | "output_type": "stream", |
|
1312 | 1293 | "id": "m6ku7L_768Ta", |
1313 | 1294 | "outputId": "8cb6fe04-6759-4cd9-8145-42f4fc2a72dd" |
1314 | 1295 | }, |
1315 | | - "execution_count": 28, |
| 1296 | + "execution_count": null, |
1316 | 1297 | "outputs": [ |
1317 | 1298 | { |
1318 | 1299 | "output_type": "stream", |
|
0 commit comments