mirror of
https://github.com/zhm-real/PathPlanning.git
synced 2026-08-30 00:50:46 +08:00
update
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -71,7 +71,7 @@ def show_map(xI, xG, obs_map, lose_map, name):
|
||||
plt.plot(xG[0], xG[1], "gs", ms = 24) # plot goal states (green)
|
||||
|
||||
plt.plot(obs_x, obs_y, "sk", ms = 24) # plot obstacles (black)
|
||||
plt.plot(lose_x, lose_y, marker = 's', color = '#808080', ms = 24) # plot losing states (grown)
|
||||
plt.plot(lose_x, lose_y, marker = 's', color = '#A52A2A', ms = 24) # plot losing states (grown)
|
||||
plt.title(name, fontdict=None)
|
||||
plt.axis("equal")
|
||||
|
||||
@@ -87,6 +87,6 @@ def plot_dots(x):
|
||||
plt.plot(x[0], x[1], linewidth='3', color='#808080', marker='o', ms = 23) # plot dots for animation
|
||||
plt.gcf().canvas.mpl_connect('key_release_event',
|
||||
lambda event: [exit(0) if event.key == 'escape' else None])
|
||||
plt.pause(0.001)
|
||||
plt.pause(0.1)
|
||||
|
||||
|
||||
|
||||
+2
-1
@@ -2,7 +2,8 @@
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="025aff36-a6aa-4945-ab7e-b2c625055f47" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/../Stochastic Shortest Path/value_iteration.py" beforeDir="false" afterPath="$PROJECT_DIR$/../Stochastic Shortest Path/value_iteration.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../Model-free Control/tools.py" beforeDir="false" afterPath="$PROJECT_DIR$/../Model-free Control/tools.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
</list>
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
|
||||
Reference in New Issue
Block a user