-
Notifications
You must be signed in to change notification settings - Fork 25
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
Trouble Homing/Calibrating #24
Comments
I've run into similar problems, for both joints 3 and 4. The homing offsets change depending on the orientation of the joints at the start of the homing procedure. Joints 3 and 4 are homed by probing for the position of magnets embedded in the gears. In practice, this makes homing unrepeatable under arbitrary conditions since the position of magnets is not unique for each pair of (j3, j4) orientations. For example, on my robot, for both poses One solution, which I have implemented here, requires the user to:
homing:
probe_offset: 30.0 This parameter need not be exact. It is intended to define the rough offset of the magnets for a specific robot. Each robot (presumably) has its magnets installed in a different location, so this parameter will vary from robot to robot. If you manually rotate j4 until the magnets lie across from each other, then rotate j3 until both red lights are on, the offset of j3 from the axis of the last "arm" (j2 --> j3) in the positive direction will be this
robot.position()
# prints '[0, 110, -90, 0, -200]'
robot.home(["j3"])
# prints '{"j0": 1, "j1": 1, "j2": 1, "j3": 1, "j4": 1}'
robot.position()
# prints '[0, 110, -90, 0, 160]' An additional issue with calibration that I have yet to address occurs when joints 3 and 4 fail to home. This happens when one or both of these joints' magnets has activated the red lights before beginning the homing procedure. One fix would be to temporarily offset the magnets before probing; however, I have yet to implement this because the easiest fix is to manually move the joints to a position where neither of the red lights are on. |
@bensnell mentioned almost most points here. Another point, the homing signal triggers when the magnet switches from off to on. So, make sure that at the starting position the sensor lights on the pulleys are off. Finally, given the value of the last two pulleys, we can uniquely identify j3 and j4. The homing process for the last two joints basically looks for a fixed position on the pulleys. So, if we start from a proper position we should get a consistent result all the time. |
useful info. this has been driving me nuts. I cant see any way to ensure a mounted camera (or long tool) doesn't crash into the arm itself. Im experimenting with attaching a physical barrier (a pie plate) to the end so that my camera will be protected. |
I'm using Dorna only few days, so maybe it's some kind of lack experience.. but.. |
Greetings,
I often experience trouble homing/calibrating joints J3 and J4 using the Python API v1.4.2. Please follow my steps below and let me know if I am misunderstanding the homing process.
The text was updated successfully, but these errors were encountered: