-
Notifications
You must be signed in to change notification settings - Fork 224
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
Delay in execution #1007
Comments
Thanks for sharing your thought with us. I have a couple of remarks:
|
Just an update:
At this point, I strongly think that this is not related to the UR driver (maybe related to the controllers) and I will close the issue. In case I ever come up with a solution I will update it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected ROS2 Driver version(s)
2.1.2
Used ROS distribution.
Galactic
Which combination of platform is the ROS driver running on.
Ubuntu Linux with realtime patch
How is the UR ROS2 Driver installed.
From binary packets
Which robot platform is the driver connected to.
UR E-series robot
Robot SW / URSim version(s)
URSim 5.15.0 and real robot 5.14.5
How is the ROS driver used.
Through the robot teach pendant using External Control URCap
Issue details
Summary
I am trying to achieve precise synchronization of a UR5e robot with a moving conveyor to pick up objects. Either using URSim or the actual robot and MoveIt2 there is significant time difference (25 up to 100ms) between the plan and the actual execution.
Issue details
I have tried to minimize this delay making multiple changes:
joint_trajectory_controller
PREEMPT_RT
(have not changed any other related settings yet)pilz_industrial_motion_planner
For reference, there are a couple of things that have reduce drastically the delay:
Steps to Reproduce
Launch URSim (you can also test it with the real robot and change the robot IP)
ros2 launch ur_bringup ur5e.launch.py robot_ip:=127.0.0.1 use_fake_hardware:=false launch_rviz:=false
ros2 launch ur_moveit_config ur_moveit.launch.py ur_type:=ur5e
Create a C++ node performing motions and time them using something along these lines:
Positions: [0,0,0,0,0,3M_PI_22], [0,0,0,0,0,-3M_PI_22]
Expected Behavior
The motion should last as much as predicted by the plan (up to a small time difference).
Actual Behavior
The log similar to this:
Relevant log output
No response
Accept Public visibility
The text was updated successfully, but these errors were encountered: