Skip to content

Commit

Permalink
change back to impuls entities
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervDooren committed Jul 25, 2023
1 parent 4d2a48a commit 1dc8fdc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ def __init__(self, robot, pick_spot_id, pick_spot_navigation_area):
rospy.init_node(os.path.splitext("test_" + os.path.basename(__file__))[0])
robot_instance = get_robot("hero")
robot_instance.reset()
NavigateToAndPickItem(robot_instance, "kitchen_table", "in_front_of").execute()
NavigateToAndPickItem(robot_instance, "dinner_table", "in_front_of").execute()
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,6 @@ def _publish_item_poses(user_data, marker_array_pub, items):
rospy.init_node(os.path.splitext("test_" + os.path.basename(__file__))[0])

robot_instance = get_robot("hero")
state_machine = NavigateToAndPlaceItemOnTable(robot_instance, "kitchen_table", "in_front_of")
state_machine = NavigateToAndPlaceItemOnTable(robot_instance, "dinner_table", "in_front_of")
state_machine.userdata["item_picked"] = sys.argv[1]
state_machine.execute()
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ def _place(_):
if __name__ == "__main__":
rospy.init_node(os.path.splitext("test_" + os.path.basename(__file__))[0])
robot_instance = get_robot("hero")
PickPourPlaceCereal(robot_instance, "kitchen_table").execute()
PickPourPlaceCereal(robot_instance, "dinner_table").execute()
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def execute(self, userdata):
def setup_statemachine(robot):
state_machine = StateMachine(outcomes=["done"])
state_machine.userdata["item_picked"] = None
pick_id = "dishwasher"
pick_id = "closet"
pick_area_id = "in_front_of"
place_id = "kitchen_table"
place_id = "dinner_table"
place_area_id = "in_front_of"
exit_id = "starting_pose"
table_des = EdEntityDesignator(robot=robot, uuid=place_id)
Expand Down

0 comments on commit 1dc8fdc

Please sign in to comment.