lukasvst / dm-vio-ros

ROS wrapper for DM-VIO: Delayed Marginalization Visual-Inertial Odometry
GNU General Public License v3.0
120 stars 22 forks source link

OpenGL problem #14

Closed LvDingzhou closed 1 year ago

LvDingzhou commented 1 year ago

I didn't have any problems running dm-vio ros before, but today I suddenly encountered the following error. I don't know where to start? Can we replace it with a Pangolin one? "Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.OpenGL Error 502: GL_INVALID_OPERATION: The specified operation is not allowed in the current state. In: /usr/local/include/pangolin/gl/gl.hpp, line 214"

LvDingzhou commented 1 year ago

This is my input parameter, which I also used before “rosrun dmvio_ros node calib=/home/intel/bagfiles/dmvio_data/configs/camera.txt imuCalib=/home/intel/bagfiles/dmvio_data/configs/camchain.yaml mode=1 preset=0 nogui=0 resultsPrefix=/home/intel/bagfiles/dmvio_data/result/ settingsFile=/home/intel/bagfiles/dmvio_data/configs/tumvi.yaml quiet=1 useimu=1 ”

LvDingzhou commented 1 year ago

Solved! I downloaded a new copy of the dm-vio-ros code, but forgot to modify the subscribed ROS topic!!!