|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 1, |
| 5 | + "execution_count": null, |
6 | 6 | "metadata": {}, |
7 | 7 | "outputs": [], |
8 | 8 | "source": [ |
|
28 | 28 | }, |
29 | 29 | { |
30 | 30 | "cell_type": "code", |
31 | | - "execution_count": 2, |
| 31 | + "execution_count": null, |
32 | 32 | "metadata": {}, |
33 | | - "outputs": [ |
34 | | - { |
35 | | - "name": "stderr", |
36 | | - "output_type": "stream", |
37 | | - "text": [ |
38 | | - "INFO:drake:Meshcat listening for connections at http://localhost:7000\n" |
39 | | - ] |
40 | | - } |
41 | | - ], |
| 33 | + "outputs": [], |
42 | 34 | "source": [ |
43 | 35 | "meshcat = StartMeshcat()" |
44 | 36 | ] |
45 | 37 | }, |
46 | 38 | { |
47 | 39 | "cell_type": "code", |
48 | | - "execution_count": 3, |
| 40 | + "execution_count": null, |
49 | 41 | "metadata": {}, |
50 | | - "outputs": [ |
51 | | - { |
52 | | - "name": "stdout", |
53 | | - "output_type": "stream", |
54 | | - "text": [ |
55 | | - "Set parameter Username\n", |
56 | | - "Academic license - for non-commercial use only - expires 2025-01-11\n" |
57 | | - ] |
58 | | - } |
59 | | - ], |
| 42 | + "outputs": [], |
60 | 43 | "source": [ |
61 | 44 | "uav_env = UavEnvironment(seed=8)\n", |
62 | 45 | "regions, edges_between_regions = uav_env.compile()" |
|
71 | 54 | }, |
72 | 55 | { |
73 | 56 | "cell_type": "code", |
74 | | - "execution_count": 4, |
| 57 | + "execution_count": null, |
75 | 58 | "metadata": {}, |
76 | 59 | "outputs": [], |
77 | 60 | "source": [ |
|
95 | 78 | }, |
96 | 79 | { |
97 | 80 | "cell_type": "code", |
98 | | - "execution_count": 5, |
| 81 | + "execution_count": null, |
99 | 82 | "metadata": {}, |
100 | | - "outputs": [ |
101 | | - { |
102 | | - "name": "stderr", |
103 | | - "output_type": "stream", |
104 | | - "text": [ |
105 | | - "INFO:drake:Solved GCS shortest path using Mosek with convex_relaxation=true and preprocessing=true and rounding.\n", |
106 | | - "INFO:drake:Finished 100 rounding trials with Mosek.\n" |
107 | | - ] |
108 | | - }, |
109 | | - { |
110 | | - "name": "stdout", |
111 | | - "output_type": "stream", |
112 | | - "text": [ |
113 | | - "Is successful: True in 1.007 seconds.\n", |
114 | | - "Total trajectory time: 1.593 seconds.\n" |
115 | | - ] |
116 | | - } |
117 | | - ], |
| 83 | + "outputs": [], |
118 | 84 | "source": [ |
119 | 85 | "gcs = GcsTrajectoryOptimization(3)\n", |
120 | 86 | "main = gcs.AddRegions(regions, edges_between_regions, order=6, h_min=0, h_max=20)\n", |
|
159 | 125 | }, |
160 | 126 | { |
161 | 127 | "cell_type": "code", |
162 | | - "execution_count": 6, |
| 128 | + "execution_count": null, |
163 | 129 | "metadata": {}, |
164 | | - "outputs": [ |
165 | | - { |
166 | | - "name": "stderr", |
167 | | - "output_type": "stream", |
168 | | - "text": [ |
169 | | - "INFO:drake:Solved GCS shortest path using Mosek with convex_relaxation=true and preprocessing=true and rounding.\n", |
170 | | - "INFO:drake:Finished 78 rounding trials with SNOPT.\n" |
171 | | - ] |
172 | | - }, |
173 | | - { |
174 | | - "name": "stdout", |
175 | | - "output_type": "stream", |
176 | | - "text": [ |
177 | | - "Is successful: True in 33.416 seconds.\n", |
178 | | - "Total trajectory time: 4.157 seconds.\n" |
179 | | - ] |
180 | | - } |
181 | | - ], |
| 130 | + "outputs": [], |
182 | 131 | "source": [ |
183 | 132 | "gcs = GcsTrajectoryOptimization(3)\n", |
184 | 133 | "main = gcs.AddRegions(regions, edges_between_regions, order=6, h_min=0, h_max=20)\n", |
|
275 | 224 | }, |
276 | 225 | { |
277 | 226 | "cell_type": "code", |
278 | | - "execution_count": 8, |
| 227 | + "execution_count": null, |
279 | 228 | "metadata": {}, |
280 | 229 | "outputs": [], |
281 | 230 | "source": [ |
|
0 commit comments