diff --git a/main.py b/main.py index 66aca87..44bc430 100644 --- a/main.py +++ b/main.py @@ -31,16 +31,13 @@ config = { }, } - - - def main(): robot = RobotClient(HOST, PORT) robot.set_joint_maxacc(2) robot.set_joint_maxvelc(2) # robot.move_linear_cartesian(config["pre_grasp_position"]) -# robot.move_to_pose(config["pre_grasp_position"]) -# robot.move_to_pose(config["grasp_position"]) + robot.move_to_pose(config["pre_grasp_position"]) + robot.move_to_pose(config["grasp_position"]) robot.move_to_pose(config["post_grasp_position"]) robot.close()