Closed AmineDh98 closed 1 year ago
Did not reproduce. Please describe the complete and correct reproduction procedure.
@AmineDh98 Please refer to the updated documentation. https://stella-cv.readthedocs.io/en/latest/ros_package.html#installation
If you are not familiar with Linux, you should stop using WSL and use Native Ubuntu. Only SocketViewer is available in WSL for visualization, but PangolinViewer has more features.
Describe the bug
I am experiencing a building error related to the g2o library when trying to run the stella_vslam_ros package.
To Reproduce
Steps to reproduce the behavior:
The bag is explained below:
I am having a building error related to the g2o library when I try to run the stella_vslam_ros.
First of all, I followed the instructions and installed the stella_vslam, and it's working fine with the provided example videos using the socket viewer to visualize.
Then I followed the instructions for stella_vslam_ros installation, and when I tried to build the catkin workspace, it gave the following error:
I understood that the problem occurred when building the dependency with g2o. So I rebuilt the g2o and stella_vslam packages using the following commands: 1.Remove g2o:
After performing these steps, the catkin workspace built successfully, and catkin was able to find the dependencies.
Then I tested stella_slam_ros by publishing a video to the topic "/camera/image_raw" and running:
However, I encountered the following error:
To solve this, I rebuilt the stella_vslam folder again by removing the build folder and rebuilding it. After this step, it worked, and I was able to visualize the video and see the vslam working in the socket viewer.
The problem now is that if I build the catkin workspace again, it will give the same error:
Expected behavior
I expected the catkin workspace to build successfully without any errors.
Environment
Additional context
So, my question is: Is there any way to solve this error and avoid having to repeat the steps to rebuild the catkin_ws and encountering the undefined symbol: _ZN3g2o7csparse7CSparseC1Ev error?
Thank you.