Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervDooren committed Jul 25, 2023
1 parent 1dc8fdc commit d3955f9
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def __init__(self, robot):
# noinspection PyProtectedMember
arm = robot.get_arm()._arm
picked_items = []
armdes = ArmDesignator(robot, {"required_gripper_types": [GripperTypes.GRASPING]})

def send_joint_goal(position_array, wait_for_motion_done=True):
# noinspection PyProtectedMember
Expand Down Expand Up @@ -105,17 +104,6 @@ def _carrying_pose(user_data):
self.add("ASK_USER", CBState(_ask_user),
transitions={"succeeded": "CARRYING_POSE", "failed": "failed"})

# self.add("CHECK_PICK_SUCCESSFUL",
# ActiveGraspDetector(robot, armdes),
# transitions={'true': "CARRYING_POSE",
# 'false': "SAY_SOMETHING_WENT_WRONG",
# 'failed': "failed",
# 'cannot_determine': "SAY_SOMETHING_WENT_WRONG"}
# )

# self.add("SAY_SOMETHING_WENT_WRONG", Say(robot, "Oops, it seems I missed it. Lets try again"),
# transitions={"spoken": "ASK_USER2"})
# self.add("ASK_USER2", CBState(_ask_user), transitions={"succeeded": "CARRYING_POSE", "failed": "failed"})
self.add("CARRYING_POSE", CBState(_carrying_pose), transitions={"done": "succeeded"})


Expand Down

0 comments on commit d3955f9

Please sign in to comment.