set params

This commit is contained in:
Falloimitator 2025-05-23 17:13:26 +03:00
parent 68a6c712f9
commit 5eaf077fb7
2 changed files with 19 additions and 4 deletions

10
main.py
View file

@ -33,10 +33,12 @@ 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.set_joint_maxacc(3)
#robot.set_joint_maxvelc(3)
#robot.set_end_max_line_velc(0.6)
robot.set_end_max_line_acc(0.8)
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["post_grasp_position"])
robot.close()