Skip to content
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

joint vs axis soft limits #97

Open
SebKuzminsky opened this issue Jun 29, 2016 · 2 comments
Open

joint vs axis soft limits #97

SebKuzminsky opened this issue Jun 29, 2016 · 2 comments

Comments

@SebKuzminsky
Copy link
Collaborator

In master after the JA merge.

On a trivkins machine (a gantry), a misconfiguration resulted in an axis and its joint having different soft limits. The axis soft limit was outside the joint soft limit. I could jog into the joint soft limit, resulting in an error message:

    Exceeded POSITIVE soft limit (0.05000) on joint 2
    Hint: switch to joint mode to jog off soft limit

On other axes/joints the soft limits coincided (as they should) and the machine would smoothly decelerate to a halt at the limit, rather than run over it and error.

Probably both axis and joint soft limits should be honored, and whichever is more restrictive should control the machine's work envelope.

@rene-dev
Copy link
Member

There is a lot more to this problem, in world mode all the joint limits(acc/vel) are ignored.
The problem is the planner only plans in cartesian space, and is not aware of the kinematic.
Really the planner should put the result trough the kinematic, check for joint limits, and then put it back trough the kinematic to check if there is an ambiguity.
Currently this fails with a joint following error, because the joint will just overspeed.
But yes, a work envelope constrained by joint limits would be super nice.

@jepler
Copy link
Contributor

jepler commented Jul 28, 2016

@rene-dev Yes, obeying joint constraints (velocity and acceleration) while running in Cartesian mode is a major area for future work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants