-
Notifications
You must be signed in to change notification settings - Fork 13
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
Inconsistent height when moving with constant Z values. #2
Comments
Thank you, can you send the calculation and your code through please and I
will review them.
Regards,
William Bailes
https://tinkersprojects.com
…On Fri, Oct 28, 2022, 12:39 PM Fran Tinelli ***@***.***> wrote:
Hi!
I'm using this library for a project involving a delta robot and computer
vision. I'm trying to move the end effector on a horizontal plane by
maintaining a constant z and giving different xy commands. However, it
descends the more it gets farther from the center.
At first, I thought it was something about my code or the servos
calibrations but I did tons of tests and the behavior is the same. So I did
a bit more research on the web and I found a repo of @isaac879
<https://github.com/isaac879> with inverse kinematics functions for a
delta robot. I tried those out and it works like a charm! Now my robot
moves perfectly well on a horizontal plane.
So maybe there's something wrong with the code or the mathematical
approach. I wanted to notice this as this is a well-known library and it
would be great to have it fixed.
—
Reply to this email directly, view it on GitHub
<#2>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBFHMOEO3QDR3Q2S6OTNLTWFMVERANCNFSM6AAAAAARQTOPLY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
In case all angles are 0 degress the z coordinate is given by the following simple formula according to the Pythagoras theorem: |
Hi, I'm encountering the same problem as explained in this issue. Kind Regards, |
can you send your code through to me soo i can review it. there is many different ways of calulating it and it may come down to an edge case that the function does not work. |
This is the inverse kinematics part of my code: ` DeltaKinematics DK(150, 350, 55, 115); void setup() { // move to point 2 (x = 0, y = 0, z = -380) // move to point 3 (x = 120, y = 0, z = -380) void loop() {} These 3 moves should move the end effector to 3 different points on the x-axis with the same z-axis value. Thanks for wanting to take a look at this problem. |
thank you, i will look at this, may take a while, need to dig up my old notes also please note, this will only calculate the final position. you may get some movement in Z as it is moving |
Thank you for your willingness to help! Nicolas de Tracy |
Hi, have you had any luck finding the problem to our issue? Nicolas de Tracy |
fixed the problems by creating my own library, which works very differently that all the other ones. The end effector moves around with an amazing accuracy and no changes in height at all. Link to repo: https://github.com/nicolasdetracy/deltaRobot_Inverse_Kinematics |
the repo is private or removed mr nicolas |
Hi!
I'm using this library for a project involving a delta robot and computer vision. I'm trying to move the end effector on a horizontal plane by maintaining a constant z and giving different xy commands. However, it descends the more it gets farther from the center.
At first, I thought it was something about my code or the servos calibrations but I did tons of tests and the behavior is the same. So I did a bit more research on the web and I found a repo of @isaac879 with inverse kinematics functions for a delta robot. I tried those out and it works like a charm! Now my robot moves perfectly well on a horizontal plane.
So maybe there's something wrong with the code or the mathematical approach. I wanted to notice this as this is a well-known library and it would be great to have it fixed.
Link to the repo: https://github.com/isaac879/Delta-Robot
(check out the delta_robot/deltaRobot.cpp file from line 69)
The text was updated successfully, but these errors were encountered: