ccourson / xArmServoController

LewanSoul-Lobot-HiWonder 6-DOF xArm servo controller libraries
https://ccourson.github.io/xArmServoController/
MIT License
64 stars 30 forks source link

Add Learm setPosition options #14

Open eric-rosen opened 8 months ago

eric-rosen commented 8 months ago

This fixes #5

Specifically, Controller.setPosition has a new argument, learm : bool, which is by default False. When true, it uses the LeArm 6DoF joint limits for restricting joint positions.

I tested this on my LeArm robot, this change should be backwards compatible with existing code.