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

UR5 controller is shaking #11

Closed
relffok opened this issue Apr 21, 2022 · 8 comments · Fixed by UniversalRobots/Universal_Robots_ROS2_Description#127
Closed

UR5 controller is shaking #11

relffok opened this issue Apr 21, 2022 · 8 comments · Fixed by UniversalRobots/Universal_Robots_ROS2_Description#127
Labels
bug Something isn't working

Comments

@relffok
Copy link
Contributor

relffok commented Apr 21, 2022

I noticed that when using the simulation with different UR types using ros2 launch ur_simulation_gazebo ur_sim_control.launch.py ur_type:=ur5 all robots work except for UR5 which is weirdly shaking.

Fresh galactic binary build using Universal_Robots_ROS2_Gazebo_Simulation-not-released.galactic.repos (no ros2_control built from source)

@destogl
Copy link
Contributor

destogl commented Apr 27, 2022

can you show a gif or someting? Is this maybe caused by the performance of your machine? I have been doing multi-robot simulations with this setup and worked fined with different controllers.

@relffok
Copy link
Contributor Author

relffok commented May 2, 2022

I dont think its a performance issue since the resolution time is fine and the other robot types have no issues.

Using the launch command above I get (only UR5):

shaking_ur5_1.mp4

@relffok
Copy link
Contributor Author

relffok commented May 2, 2022

Could it be the configuration of the base link because that's different in your multi-robot simulation?
Is the simple launch file ros2 launch ur_simulation_gazebo ur_sim_control.launch.py ur_type:=ur5 working for you? If yes I'll have to check another machine too.

EDIT: I realized that this is also happening to UR3 and UR10 now. But not to ur3e,ur5e nor ur10e! If this does not happen to anyone else, it might be an issue on my side..

@meikse
Copy link

meikse commented Sep 29, 2022

I do experience the same issue with the ur5.
I do not know if the frame rate of the gif was very low while capturing, but for me the ur5 is shaking even faster.
Highly appreciate a solution as well, if someone figured it out already.

@relffok
Copy link
Contributor Author

relffok commented Sep 30, 2022

@meikse Did you try attaching it with a static transform to the world frame / anything else ?

@sabrinaacardoso
Copy link

The problem is that they are being instantiated at z = 0.
For this not to happen, it is necessary to instantiate UR in the world with approximately z = 0.05.
Depends on the UR.
So just go testing the minimum value of z.

@fmauch fmauch added the bug Something isn't working label Dec 15, 2023
@fmauch
Copy link
Collaborator

fmauch commented Dec 21, 2023

@sabrinaacardoso do you have any insight of why this helps / is necessary?

@gavanderhoorn
Copy link

Could be that with collisions enabled (link collisions in gazebo that is), anything spawned too close / in the ground plane will start to become unstable (as that's a collision object itself) due to being 'inside' another object. At least that was my experience a couple years ago.

I believe a Z offset was used by the various spawn scripts, not sure whether that's still there.

Why some models may need this and others don't could be due to their exact shapes / shapes of the meshes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
6 participants