-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed multitype list #1076
base: master
Are you sure you want to change the base?
Fixed multitype list #1076
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,33 +210,33 @@ def main(): | |
print(__file__ + " start!!") | ||
|
||
# start and goal position | ||
sx = 10.0 # [m] | ||
sy = 10.0 # [m] | ||
gx = 50.0 # [m] | ||
gy = 50.0 # [m] | ||
grid_size = 2.0 # [m] | ||
robot_radius = 1.0 # [m] | ||
sx = 10 # [m] | ||
sy = 10 # [m] | ||
gx = 50 # [m] | ||
gy = 50 # [m] | ||
grid_size = 2 # [m] | ||
robot_radius = 1 # [m] | ||
|
||
# set obstacle positions | ||
ox, oy = [], [] | ||
for i in range(-10, 60): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(-10.0) | ||
for i in range(-10, 60): | ||
ox.append(60.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(-10, 61): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(60.0) | ||
for i in range(-10, 61): | ||
ox.append(-10.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(-10, 40): | ||
ox.append(20.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(0, 40): | ||
ox.append(40.0) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, we can keep these float parameters as before. |
||
oy.append(60.0 - i) | ||
ox.append(40) | ||
oy.append(60 - i) | ||
|
||
if show_animation: # pragma: no cover | ||
plt.plot(ox, oy, ".k") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,33 +211,33 @@ def main(): | |
print(__file__ + " start!!") | ||
|
||
# start and goal position | ||
sx = -5.0 # [m] | ||
sy = -5.0 # [m] | ||
gx = 50.0 # [m] | ||
gy = 50.0 # [m] | ||
grid_size = 2.0 # [m] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, we can keep these float parameters as before. |
||
sx = -5 # [m] | ||
sy = -5 # [m] | ||
gx = 50 # [m] | ||
gy = 50 # [m] | ||
grid_size = 2 # [m] | ||
robot_radius = 1.0 # [m] | ||
|
||
# set obstacle positions | ||
ox, oy = [], [] | ||
for i in range(-10, 60): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(-10.0) | ||
for i in range(-10, 60): | ||
ox.append(60.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(-10, 61): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(60.0) | ||
for i in range(-10, 61): | ||
ox.append(-10.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(-10, 40): | ||
ox.append(20.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(0, 40): | ||
ox.append(40.0) | ||
oy.append(60.0 - i) | ||
ox.append(40) | ||
oy.append(60 - i) | ||
|
||
if show_animation: # pragma: no cover | ||
plt.plot(ox, oy, ".k") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -263,33 +263,33 @@ def main(rng=None): | |
print(__file__ + " start!!") | ||
|
||
# start and goal position | ||
sx = 10.0 # [m] | ||
sy = 10.0 # [m] | ||
gx = 50.0 # [m] | ||
gy = 50.0 # [m] | ||
robot_size = 5.0 # [m] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, we can keep these float parameters as before. |
||
sx = 10 # [m] | ||
sy = 10 # [m] | ||
gx = 50 # [m] | ||
gy = 50 # [m] | ||
robot_size = 5 # [m] | ||
|
||
ox = [] | ||
oy = [] | ||
|
||
for i in range(60): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(0.0) | ||
for i in range(60): | ||
ox.append(60.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(61): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(60.0) | ||
for i in range(61): | ||
ox.append(0.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(40): | ||
ox.append(20.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(40): | ||
ox.append(40.0) | ||
oy.append(60.0 - i) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, we can keep these float parameters as before. |
||
ox.append(40) | ||
oy.append(60 - i) | ||
|
||
if show_animation: | ||
plt.plot(ox, oy, ".k") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,33 +136,33 @@ def main(): | |
print(__file__ + " start!!") | ||
|
||
# start and goal position | ||
sx = 10.0 # [m] | ||
sy = 10.0 # [m] | ||
gx = 50.0 # [m] | ||
gy = 50.0 # [m] | ||
robot_size = 5.0 # [m] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, we can keep these float parameters as before. |
||
sx = 10 # [m] | ||
sy = 10 # [m] | ||
gx = 50 # [m] | ||
gy = 50 # [m] | ||
robot_size = 5 # [m] | ||
|
||
ox = [] | ||
oy = [] | ||
|
||
for i in range(60): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(0.0) | ||
for i in range(60): | ||
ox.append(60.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(61): | ||
ox.append(i) | ||
ox.append(float(i)) | ||
oy.append(60.0) | ||
for i in range(61): | ||
ox.append(0.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(40): | ||
ox.append(20.0) | ||
oy.append(i) | ||
oy.append(float(i)) | ||
for i in range(40): | ||
ox.append(40.0) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, we can keep these float parameters as before. |
||
oy.append(60.0 - i) | ||
ox.append(40) | ||
oy.append(60 - i) | ||
|
||
if show_animation: # pragma: no cover | ||
plt.plot(ox, oy, ".k") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, we can keep these float parameters as before.