-
Notifications
You must be signed in to change notification settings - Fork 182
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
trajectory relays: velocity calculation final segment incorrect? #247
Comments
I think this code was mainly written to support velocity in "sparse" trajectories (only start and end point) But this is a general issue I have been planning to think about for some time now ... how to best translate from velocities in rad/s as given by MoveIt (or its message format) back to % as used by some industrial controllers |
Code is here: industrial_core/industrial_robot_client/src/joint_trajectory_interface.cpp Lines 229 to 280 in a85789b
in essence: |
There will always be a discrepancy between how ROS encodes joint state in |
I seem to remember (from our private email conversation, teaches me to not insist on discussing things on the tracker here ;) ) that the same behaviour is seen on trajectories with more than 1 segment (ie: incorrect or too low velocities on the last segment). The last edit by the OP of the ROS Answers question shows this for the trajectory:
That |
This is triggered by Moveit executor sends wrong velocity on last waypoint? on ROS Answers (note that the title is most likely incorrect: it's not MoveIt related).
I seem to remember @simonschmeisser reporting a similar observation, but using
fanuc_driver(_exp)
. I believe he added some commits to their fork ofros-industrial/fanuc
(these: ros-industrial/fanuc@82757ce...c5f8189) to work around/fix this.But I'm not entirely sure what the cause was.
@simonschmeisser: could you perhaps clarify?
The text was updated successfully, but these errors were encountered: