-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
rviz2 failed/crash with additional monitor #3173
Comments
@cjffly |
Do you have any idea about this issue? |
@taikitanaka3 Thank you for the notification. I've never had this problem before, so I'll try it in an environment with an extra monitor. |
Thank for reporting this issue. I have observed the same behaviour ( I have exactly the same versions of OS, ROS and Autoware but I am running it via Docker ( The problem appears when I set the resolution of my screen to 3456 x 2160 (16:10) with 200 % scale factor. I can open |
I can't reproduce it, but I found the suspicious code. Can you check if this PR will fix it? |
I tried this PR |
I feel like rviz crashes if config file contains many plugins. The same behavior occurs with plugins other than AutowareDateTimePanel, and the following exception is sometimes thrown.
|
I'm moving this to the following issue: Until it is solved, use the Autoware RViz2 with |
Checklist
Description
When launching rviz2 with the default config file in autoware/src/launcher/autoware_launch/autoware_launch/rivz/autoware.rviz, the rviz2 window will appear for a second and then close. The console will reports:
This only happens when my laptop is connected to a extended monitor. (if no extended monitor was connected, it will work fine)
Expected behavior
rviz2 launch nomally
Actual behavior
rviz2 window appear for a second and then closed.
Steps to reproduce
rviz2 -d ~/autoware/install/autoware_launch/share/autoware_launch/rviz/autoware.rviz
Versions
Possible causes
Solution: Not sure the cause of this bug, but I found the solution:
Open the .rviz config file with an editor, find and delete the following 2 part:
The number after
QMainWindow State:
I am not clear what these two part do for rviz, but deleting them solved my problem.
Additional context
No response
The text was updated successfully, but these errors were encountered: