Closed Mekjeri closed 4 weeks ago
That is a problem with your ROS environment. Make sure you have installed cv_bridge in the ROS environment: https://wiki.ros.org/cv_bridge.
Hello, following your previous guidance, I installed all the dependencies for ORB-SLAM3 ROS and successfully completed all the steps in the Installation and Install the Environment sections. I created color and depth folders in the data directories of both ngel and orb, and placed the corresponding data from the Replica dataset's room0 into them. Then, I ran the data preparation command python write_bag.py --input_folder '../../ngel_slam/data' --output '../../ngel_slam/data/output.bag' --frame_id 'camera_frame' under the orb_utils folder of ngel, but it encountered an error and did not succeed. I hope you can guide me on how to compile and run your code. Thank you very much!
Hello, following your previous guidance, I installed all the dependencies for ORB-SLAM3 ROS and successfully completed all the steps in the Installation and Install the Environment sections. I created color and depth folders in the data directories of both ngel and orb, and placed the corresponding data from the Replica dataset's room0 into them. Then, I ran the data preparation command python write_bag.py --input_folder '../../ngel_slam/data' --output '../../ngel_slam/data/output.bag' --frame_id 'camera_frame' under the orb_utils folder of ngel, but it encountered an error and did not succeed. I hope you can guide me on how to compile and run your code. Thank you very much!
Could you please provide the error screenshot?
Hello, following your previous guidance, I installed all the dependencies for ORB-SLAM3 ROS and successfully completed all the steps in the Installation and Install the Environment sections. I created color and depth folders in the data directories of both ngel and orb, and placed the corresponding data from the Replica dataset's room0 into them. Then, I ran the data preparation command python write_bag.py --input_folder '../../ngel_slam/data' --output '../../ngel_slam/data/output.bag' --frame_id 'camera_frame' under the orb_utils folder of ngel, but it encountered an error and did not succeed. I hope you can guide me on how to compile and run your code. Thank you very much!
Could you please provide the error screenshot?
Thank you for your prompt response. After manually installing cv_bridge
4.2 and confirming compatibility with the OpenCV version, I still encountered errors as shown in the image when running the code. I would appreciate any suggestions you can provide at your convenience. Thank you for your assistance!
Hello, following your previous guidance, I installed all the dependencies for ORB-SLAM3 ROS and successfully completed all the steps in the Installation and Install the Environment sections. I created color and depth folders in the data directories of both ngel and orb, and placed the corresponding data from the Replica dataset's room0 into them. Then, I ran the data preparation command python write_bag.py --input_folder '../../ngel_slam/data' --output '../../ngel_slam/data/output.bag' --frame_id 'camera_frame' under the orb_utils folder of ngel, but it encountered an error and did not succeed. I hope you can guide me on how to compile and run your code. Thank you very much!
Could you please provide the error screenshot?
Thank you for your prompt response. After manually installing
cv_bridge
4.2 and confirming compatibility with the OpenCV version, I still encountered errors as shown in the image when running the code. I would appreciate any suggestions you can provide at your convenience. Thank you for your assistance!
There are no error information in your screenshot. Could you please provide the full traceback of the script?
Hello, following your previous guidance, I installed all the dependencies for ORB-SLAM3 ROS and successfully completed all the steps in the Installation and Install the Environment sections. I created color and depth folders in the data directories of both ngel and orb, and placed the corresponding data from the Replica dataset's room0 into them. Then, I ran the data preparation command python write_bag.py --input_folder '../../ngel_slam/data' --output '../../ngel_slam/data/output.bag' --frame_id 'camera_frame' under the orb_utils folder of ngel, but it encountered an error and did not succeed. I hope you can guide me on how to compile and run your code. Thank you very much!
Could you please provide the error screenshot?
Thank you for your prompt response. After manually installing
cv_bridge
4.2 and confirming compatibility with the OpenCV version, I still encountered errors as shown in the image when running the code. I would appreciate any suggestions you can provide at your convenience. Thank you for your assistance!There are no error information in your screenshot. Could you please provide the full traceback of the script?
Here is the full traceback of the script. I apologize for disturbing you during your holiday due to my personal issues. Thank you very much for your help, and I wish you a happy Mid-Autumn Festival!
Hello, following your previous guidance, I installed all the dependencies for ORB-SLAM3 ROS and successfully completed all the steps in the Installation and Install the Environment sections. I created color and depth folders in the data directories of both ngel and orb, and placed the corresponding data from the Replica dataset's room0 into them. Then, I ran the data preparation command python write_bag.py --input_folder '../../ngel_slam/data' --output '../../ngel_slam/data/output.bag' --frame_id 'camera_frame' under the orb_utils folder of ngel, but it encountered an error and did not succeed. I hope you can guide me on how to compile and run your code. Thank you very much!
Could you please provide the error screenshot?
Thank you for your prompt response. After manually installing
cv_bridge
4.2 and confirming compatibility with the OpenCV version, I still encountered errors as shown in the image when running the code. I would appreciate any suggestions you can provide at your convenience. Thank you for your assistance!There are no error information in your screenshot. Could you please provide the full traceback of the script?
Here is the full traceback of the script. I apologize for disturbing you during your holiday due to my personal issues. Thank you very much for your help, and I wish you a happy Mid-Autumn Festival!
Hi! The error is still about the ROS environment but not the source code. When you install ROS on your PC, it defaults to be installed in /usr/bin/python but not in a conda environment. You can try to run the script without a conda environment activated.
Hello, following your previous guidance, I installed all the dependencies for ORB-SLAM3 ROS and successfully completed all the steps in the Installation and Install the Environment sections. I created color and depth folders in the data directories of both ngel and orb, and placed the corresponding data from the Replica dataset's room0 into them. Then, I ran the data preparation command python write_bag.py --input_folder '../../ngel_slam/data' --output '../../ngel_slam/data/output.bag' --frame_id 'camera_frame' under the orb_utils folder of ngel, but it encountered an error and did not succeed. I hope you can guide me on how to compile and run your code. Thank you very much!
Could you please provide the error screenshot?
Thank you for your prompt response. After manually installing
cv_bridge
4.2 and confirming compatibility with the OpenCV version, I still encountered errors as shown in the image when running the code. I would appreciate any suggestions you can provide at your convenience. Thank you for your assistance!There are no error information in your screenshot. Could you please provide the full traceback of the script?
Here is the full traceback of the script. I apologize for disturbing you during your holiday due to my personal issues. Thank you very much for your help, and I wish you a happy Mid-Autumn Festival!
Hi! The error is still about the ROS environment but not the source code. When you install ROS on your PC, it defaults to be installed in /usr/bin/python but not in a conda environment. You can try to run the script without a conda environment activated.
Hello, thank you for your prompt response. After multiple attempts, I have successfully run the data preparation code. The issue was indeed with the conda environment. After exiting the virtual environment, I was able to run the code successfully. I will continue to work on the subsequent steps. Thank you for your assistance!
Hello, I successfully ran the ORB-SLAM3 workspace based on the Replica dataset. However, when I execute the command python3 BA_subscriber.py, there are no processes, and the SLAM workspace does not respond at all. I would like to ask for your help in identifying where the issue might be. Thank you for your assistance!
Hello, I successfully ran the ORB-SLAM3 workspace based on the Replica dataset. However, when I execute the command python3 BA_subscriber.py, there are no processes, and the SLAM workspace does not respond at all. I would like to ask for your help in identifying where the issue might be. Thank you for your assistance!
You should play the rosbag after starting orb-slam and ba subscriber. Please refer to ros wiki and orb-slam3-ros to see how to play a rosbag.
Hello, I successfully ran the ORB-SLAM3 workspace based on the Replica dataset. However, when I execute the command python3 BA_subscriber.py, there are no processes, and the SLAM workspace does not respond at all. I would like to ask for your help in identifying where the issue might be. Thank you for your assistance!
You should play the rosbag after starting orb-slam and ba subscriber. Please refer to ros wiki and orb-slam3-ros to see how to play a rosbag.
Thank you for your helpful response! I will try playing the rosbag after starting the ORB-SLAM and BA subscriber as you suggested. I appreciate your assistance.
Hello, based on your suggestions, I successfully ran the BA_subscriber.py file. However, it stopped running after frame 1467 without terminating the terminal. I would like to inquire about the possible reasons for this issue. Additionally, during the data preparation stage, I removed the frame ID settings. I would like to know if this will affect the subsequent code execution. What do you recommend for setting the frame ID? Thank you for your help!
Hello, I resolved the error that appeared in the previous image after multiple attempts. To solve this issue, I needed to run python3 BA_subscriber.py
first, and then run the rosbag to correctly log the keyframes. However, when I proceeded to the next step, I encountered a new error indicating that it could not link to the _C.so
file in the kaolin folder. I have tried reinstalling the Kaolin package, but it did not resolve the issue. Next, I plan to upgrade PyTorch. If that still doesn't work, I intend to visit the Kaolin website to install a new version of Kaolin, using CUDA 11.8 and installing the corresponding dependencies. Thank you for your ongoing support and assistance!
Hello, when I run the command:python main_json.py '/home/along/Projects/catkin_ws/src/ngel_slam/configs/Replica/room0.yaml' --input_folder '/home/along/Projects/catkin_ws/src/ngel_slam/keyframes' --output '/home/along/Projects/catkin_ws/src/ngel_slam/output' during the execution phase, I keep encountering errors despite trying several methods. The error details are shown in the attached image. I would be grateful if you could take a look at the error when you have time and provide some troubleshooting suggestions. Thank you so much for your help!
Thank you for your work. When I ran catkin_make during installation, I encountered an error. The error message indicated that I hadn't installed the cv_bridge package. I suspect that this error might be due to incorrect placement of my orb-slam3-ros folder. I would appreciate it if you could let me know the correct folder hierarchy.