Open santoshbalaji opened 1 year ago
Unfortunately i don't have any experience with MoveIt hybrid planning myself. Could you please provide the steps that you used to arrive at this behavior? And can you provide how exactly the local planner solution gets sent to the JTC?
An easy way to pin down if this issue is related to our scaled JTC would be to just use the joint_trajectory_controller
controller instead of scaled_joint_trajectory_controller
. In general these controllers should be able to handle new goals correctly, documentation on how that works can be found here (specifically under "Preemption").
The following are the setup I have currently
ROS2 Humble Moveit2 Hybrid planner UR Driver with Scaled joint trajectory controller UR16e robot
When I try to use hybrid planner to send real UR robot to a specific point the executed motion seems more jerky and it is not smooth. When I try to do some analysis the following is observed.
Because of the above operations the joint trajectory controller was not able to maintain constant velocity as these controllers looks like designed to get all positions in one single step to maintain constant velocities. Let me know if above assumptions are correct. What can be done to mitigate this issue ?. I was thinking of modifying the controller to queue up the commands and keep planning to maintain constant velocities. Require suggestion on directions.
Thanks in advance !!!!