ros2 / rviz

ROS 3D Robot Visualizer
BSD 3-Clause Clear License
293 stars 211 forks source link

RViz2 Freezing with Autoware - Ubuntu 22 VM on Apple Silicon #1255

Open dtonda8 opened 1 month ago

dtonda8 commented 1 month ago

Your environment

Rviz2 works find with an empty configuration. However, when following the Autoware Planning Simulation instructions, The centre display freezes the second time I try to interact with the 3D space:

https://github.com/user-attachments/assets/3ae6de2e-c1e9-4745-bc8b-fe9da17ee063

$HOME/.ros/log output: launch.log

Yadunund commented 4 weeks ago

Hello @dtonda8,

In this particular scenario, it would be great to isolate the cause of the issue since at the moment there are many confounding variables including an older version of ROS 2, 3rd Party extensions to ROS 2 (Autoware), the fact that this is all running within a VM, and lastly given that the VM itself is running on a tier-3 support OS for ROS 2.

It would greatly help if you could ascertain the following:

  1. Whether the version of RViz using within Autoware is exactly the same as what's in this repo (humble branch) without any patches applied. If there are any modifications, please share the diff here.
  2. If the issue can be reproduced with ROS 2 Rolling version of RViz on a Tier-1 OS outside of any VM, ie, this repo built from source off the latest rolling branch on Ubuntu 24.04. And specifically outside of Autoware. A simple self contained reproducible scenario would be excellent.
  3. Does running the above Autoware demo with ROS 2 Rolling make the problem go away?

Answering these would help us understand whether this is really a problem in RViz, Autoware, VM environment etc.

Personally I use RViz (ROS 2 Iron built from source) on M1 Mac running MacOS Sonoma 14.5 without any issues (No VM and not tested with Autoware).