Skip to content

Commit 79091f2

Browse files
authored
Clearing up return type of move_group.go() (#721)
1 parent 3a1a00a commit 79091f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/move_group_python_interface/scripts/move_group_python_interface_tutorial.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,12 @@ def go_to_pose_goal(self):
229229
move_group.set_pose_target(pose_goal)
230230

231231
## Now, we call the planner to compute the plan and execute it.
232-
plan = move_group.go(wait=True)
232+
# `go()` returns a boolean indicating whether the planning and execution was successful.
233+
success = move_group.go(wait=True)
233234
# Calling `stop()` ensures that there is no residual movement
234235
move_group.stop()
235236
# It is always good to clear your targets after planning with poses.
236-
# Note: there is no equivalent function for clear_joint_value_targets()
237+
# Note: there is no equivalent function for clear_joint_value_targets().
237238
move_group.clear_pose_targets()
238239

239240
## END_SUB_TUTORIAL

0 commit comments

Comments
 (0)