Quick and dirty implementation for .bag to .klg conversion.
openGL
librealsense2
GLUT
- mkdir build
- cd build
- cmake ..
- add line to end of ./build/CMakeFiles/bag2klg.dir/link.txt
-lGL -lGLU -lglut- make
- put .bag file in ./build
- run ./bag2klg
- output.klg will be located in ./build
DISPLAY_MODE = 0 (no display) | = 1 (show display)
WRITE_MODE = 0 (no save to .klg) | = 1 (save to .klg)
OVERRIDE_TIMESTAMP = 0 (use original timestamp from .bag file) | = 1 (use manual timestamp for new fps)