-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maximum range of [-10, 110] % to account for some imprecision during calibration, but present value is inf % #607
Comments
I have the same setup as you do and was running into a similar issue with leader_arms:
main:
_target_: lerobot.common.robot_devices.motors.feetech.FeetechMotorsBus
port: /dev/ttyACM1
motors:
# name: (index, model)
shoulder_pan: [6, "sts3215"]
shoulder_lift: [5, "sts3215"]
elbow_flex: [4, "sts3215"]
wrist_flex: [3, "sts3215"]
wrist_roll: [2, "sts3215"]
gripper: [1, "sts3215"]
follower_arms:
main:
_target_: lerobot.common.robot_devices.motors.feetech.FeetechMotorsBus
port: /dev/ttyACM0
motors:
# name: (index, model)
shoulder_pan: [6, "sts3215"]
shoulder_lift: [5, "sts3215"]
elbow_flex: [4, "sts3215"]
wrist_flex: [3, "sts3215"]
wrist_roll: [2, "sts3215"]
gripper: [1, "sts3215"] For me though the the error explicitly mentioned the "present position" to be -10.1667, which was a hint to it being out of range when it should not, unlike your infinity. So the error you are seeing might be because of something else, if not the motor IDs |
In this case the error was in my face, and I did have the servo positioned incorrectly, but I think this is still more of a math issue than anything. I did reorient the motors and everything works good now.
|
Leaving this here in case it helps someone.
But it turned out the follower was perfectly fine and the problem was in the leader, I got confused given the previous command and since the output on the terminal did not specify which arm failed. To solve this you have to correctly adjust the position of the servos. For this just download any version of Feetech debugging software (I used FD1.9.8.3 on a Windows PC), choose the COM port your servos are connected to, select Baud Rate 1000000, click Open, Click Search, you should see your 6 servos. Then, while holding each part of the arm more or less on the middle of its range (as per the building video), select the servos one by one and in the Programming tab enter 128 in Address 40: |
System Info
Information
Reproduction
It looks like all the calibration data is generated without issue.
This also occurs when attempting to execute teleoperate or any other control mode.
Expected behavior
Execution without error.
If this is a 'me' issue, then apologies in advanced for not just throwing this on discord, but any help or guidance is appreciated.
The text was updated successfully, but these errors were encountered: