8000 fixed double variable use · hzyjerry/robotics-toolbox-python@64f0868 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64f0868

Browse files
committed
fixed double variable use
1 parent 76bd2fa commit 64f0868

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roboticstoolbox/examples/icra2021.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@
158158

159159

160160
obstacle = Box([1, 1, 1], base=SE3(1, 0, 0))
161-
iscollision = panda.collided(panda.q, obstacle) # boolean
162-
iscollision = panda.links[0].collided(obstacle)
161+
iscollision0 = panda.collided(panda.q, obstacle) # boolean
162+
iscollision1 = panda.links[0].collided(obstacle)
163163

164164
d, p1, p2 = panda.closest_point(panda.q, obstacle)
165165
print(d, p1, p2)

0 commit comments

Comments
 (0)
0