Open ZuDame opened 5 years ago
Hello, It seems that the program failed to load the shaders (vertex and fragment shaders). This happens at these two lines:
The absolute path to the shaders should be found automatically via the FileSystem::getPath()
function, but for some reason it doesn't seem to work for you.
Could you please report the value of FileSystem::getPath("src/shader.vert").c_str()
to help me debug? You may add the following line:
LOG(INFO) << FileSystem::getPath("src/shader.vert").c_str();
, then recompile, run the program again and check the console output.
Meanwhile, you may hard code the absolute path of the shaders (they are in imp_opengl_renderer/src
), which should temporarily solve your issue.
Thanks, Henri
when I run
roslaunch esim_ros esim.launch config:=cfg/opengl.conf
, I have get these errors: