Skip to content

Commit 9fed26e

Browse files
timmarkhuffTim Huff
andauthored
Fixing ArmNavigation/rrt_star_seven_joint_arm_control/rrt_star_seven_joint_arm_control.py (AtsushiSakai#1022)
* fixing script * removing unnecessary code * fixing CI issue --------- Co-authored-by: Tim Huff <[email protected]>
1 parent 3504db0 commit 9fed26e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ArmNavigation/rrt_star_seven_joint_arm_control/rrt_star_seven_joint_arm_control.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def steer(self, from_node, to_node, extend_length=float("inf")):
265265

266266
def draw_graph(self, rnd=None):
267267
plt.cla()
268-
self.ax.axis([-1, 1, -1, 1])
268+
self.ax.axis([-1, 1, -1, 1, -1, 1])
269269
self.ax.set_zlim(0, 1)
270270
self.ax.grid(True)
271271
for (ox, oy, oz, size) in self.obstacle_list:
@@ -375,9 +375,9 @@ def main():
375375
search_until_max_iter=False)
376376

377377
if path is None:
378-
print("Cannot find path")
378+
print("Cannot find path.")
379379
else:
380-
print("found path!!")
380+
print("Found path!")
381381

382382
# Draw final path
383383
if show_animation:
@@ -396,7 +396,7 @@ def main():
396396
[y for y in y_points],
397397
[z for z in z_points],
398398
"o-", color="grey", ms=4, mew=0.5)
399-
plt.pause(0.01)
399+
plt.pause(0.1)
400400

401401
plt.show()
402402

0 commit comments

Comments
 (0)