HKUST-Aerial-Robotics / VINS-Mono

A Robust and Versatile Monocular Visual-Inertial State Estimator
GNU General Public License v3.0
4.83k stars 2.07k forks source link

Issues with running rviz #435

Closed hanseongbugi closed 11 months ago

hanseongbugi commented 11 months ago

I succeeded in building successfully in Ubuntu 20. The version of opencv is 4.4.0, and the code has been modified and built to match opencv4 (https://github.com/HKUST-Aerial-Robotics/VINS-Mono/pull/385/files?w=1) When running rviz with this command, the rviz window did not open. roslaunch vins_estimator vins_rviz.launch Therefore, I tried the other method that the author mentioned, but the same problem occurred. (file -> Open Config-> YOUR_VINS_FOLDER/config/vins_rviz_config.rviz) How do I resolve the problem that other .rviz files, or AR Demo files, are opened successfully, but only the .rviz files related to vins_estimator do not open the window?

hanseongbugi commented 11 months ago

This issue has been resolved. must use ubuntu 16 and opencv version 3.3.1, Eigen3.3.4 Resolved the problem of not opening the rviz window as follows. Since I use WSL, I used VcXsrv so I can watch rviz. You must uncheck the Native OpenGL option before running VcXsrv. If all of these tasks do not open the screen, try multi-screen via HDMI or C-type terminal.