File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
doc/move_group_python_interface/scripts Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments