UniversalRobots / Universal_Robots_ROS2_Driver

Universal Robots ROS2 driver supporting CB3 and e-Series
BSD 3-Clause "New" or "Revised" License
395 stars 208 forks source link

Jerky `ur_moveit_config` visualization? #475

Closed danzimmerman closed 1 year ago

danzimmerman commented 2 years ago

I'm getting very choppy robot visualization in RViz if I launch the visualization with ur_moveit_config

ros2 launch ur_moveit_config ur_moveit.launch.py ur_type:=ur5e robot_ip:=192.168.56.101

Here's a video (I think this should be visible to anyone with the link, let me know if it isn't)

https://vimeo.com/749030924/877bca2373

In the video, I'm jogging the robot from the URSim GUI.

Details

Package Info

I'm using a mix of from-source and binary Robostack packages and running Humble on Ubuntu Focal, so I don't really expect a neat solution, but any ideas for debugging would be appreciated.

Anyone else having this issue with recent releases?

fmauch commented 1 year ago

To my understanding this is rather normal in MoveIt's visualization, at least I haven't seen this differently in other MoveIt! projects. It probably is a parameter somewhere in the MoveIt! config, but I'd like to keep the MoveIt! config as close as possible to what would be generated by the setup assistant without many modifications.

If this is the case, I'd consider this as an invalid issue, as it is merely a configuration preference different from the default behavior.

Edit: Maybe I should add that you could, of course, add a RobotModel display type in RViz, which should update faster.

danzimmerman commented 1 year ago

To my understanding this is rather normal in MoveIt's visualization, at least I haven't seen this differently in other MoveIt! projects. It probably is a parameter somewhere in the MoveIt! config but I'd like to keep the MoveIt! config as close as possible to what would be generated by the setup assistant without many modifications.

Thanks, appreciate the response!

I will look at using a RobotModel for visualization instead for what I'm doing at the moment.

It seems likely that I'm misremembering that the MoveIt update rate was better at some point. Might be conflating it with some other visualization, probably launch_rviz:=true from the driver.