Browse Source

Included wait_for_result function.

pull/1/head
Alan Sanchez 3 years ago
parent
commit
01cfd53d58
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/stow_command.py

+ 1
- 0
src/stow_command.py View File

@ -47,6 +47,7 @@ class StowCommand(hm.HelloNode):
# for the result before it exits the python script.
self.trajectory_client.send_goal(trajectory_goal)
rospy.loginfo('Sent stow goal = {0}'.format(trajectory_goal))
self.trajectory_client.wait_for_result()
# Create a funcion, main(), to do all of the setup the hm.HelloNode class
# and issue the stow command.

Loading…
Cancel
Save