-
Notifications
You must be signed in to change notification settings - Fork 68
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
libfranka: Move command aborted: motion aborted by reflex! ["joint_position_limits_violation"] #43
Comments
I also noticed the limit parameters not processed by moveit. Is there sth we can do to fix? Or is it something moveit related? |
So I poked around a bit and decided to pass the joint limits expressly through a YAML file based on franka_ros values, and indeed moveit now picks them up correctly:
However, this does not solve my problem and I still run into the reflex state with joint limits exceeded :( . The last time this happened, the joint values looked like this:
From this I can surmise that the offending joint is I will try to look into this problem a bit more or post an issue in the moveit2 repo, but of course I would welcome any suggestions in this thread as well!! |
It might also worth looking at JTC. Maybe MoveIt prepares position inside the limits, but the JTC making it go out of limits. We recently added the old patched JTC to the repo. It might worth trying with that. |
Unfortunately, we are using the FER1 robot with ROS2, so I am restricted to using libfranka v0.9.2 and and this repo at version v0.1.0. So I cannot try out the juicy new features being released :( . |
Whereas I could not solve this problem in Moveit itself, I found a simple enough workaround through testing with the robot. Narrowing the joint position limit windows by ~7% seems to work for the sequence of poses I test against.
I think this makes the most sense, since it has been acknowledged that ros2_control does not yet respect joint limits. So I would reason out that the default planner OMPL/RRT prepares the trajectory with IK solutions that respect joint limits, but when the controller ros2_control/JTC tries to follow this trajectory, it sometimes arrives at different IK solutions that are unaware of joint limits. In any case, since I am fairly certain that this is not a problem on the Franka side, I will close this issue. @BarisYazici Thank you for the support!! |
…ka-hardware-build to humble * commit '5d8c57607e9c319fa2091de2e15ff669ad5be69c': hotfix: adapt to new active control from libfranka 0.12.1
I got this error when executing a move command through moveit.
Looking at some existing discussion like this and this, it seems that ros2_control does not yet respect joint limits, so moveit2 has to do it, and the best way is by defining it in the URDF. It seems like these definitions are indeed already defined here, but when I look at the params, I do not see these values populated as expected:
This is noted when launching the franka moveit launch
The text was updated successfully, but these errors were encountered: