MIT-SPARK / Kimera-VIO-ROS

ROS wrapper for Kimera-VIO
BSD 2-Clause "Simplified" License
369 stars 153 forks source link

'rosbag::BagIOException' what(): Error opening file: ~/dataset/euroc/V1_01_easy.bag #145

Closed Abirami-Segar closed 3 years ago

Abirami-Segar commented 3 years ago

Description: Hi

I am new to ROS and when i tried to launch the ros node, I got this error. Could someone help me?

THanks in advance!

Command: roslaunch kimera_vio_ros kimera_vio_ros_euroc.launch


**Console output:**

... logging to /home/abirami/.ros/log/1c93a372-c51e-11eb-b2fd-f834415de486/roslaunch-abirami-4462.log

Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://abirami:36805/

SUMMARY

PARAMETERS

NODES /kimera_vio_ros/ kimera_vio_ros_node (kimera_vio_ros/kimera_vio_ros_node) posegraph_viewer (pose_graph_tools/visualizer_node)

ROS_MASTER_URI=http://localhost:11311

process[kimera_vio_ros/kimera_vio_ros_node-1]: started with pid [4479] process[kimera_vio_ros/posegraph_viewer-2]: started with pid [4480] [ INFO] [1622801894.567239603]: Initializing pose graph visualizer I0604 12:18:18.610818 4479 Logger.cpp:59] Opening output file: traj_gt.csv I0604 12:18:18.619415 4479 RosBagDataProvider.cpp:52] Constructing RosbagDataProvider from path:



**Additional files:**
Please attach all the files needed to reproduce the error.

Please give also the following information:
* KimeraVIO branch, tag or commit used
* GTSAM version used:
* OpenGV version used:
* OpenCV version used: type `opencv_version`
* Operating system and version (e.g. Ubuntu 16.04 or Windows 10): 
* Did you change the source code? (yes / no): 
moksh-401-511 commented 2 years ago

@Abirami-Segar I'm facing same issue. Can you guide me if you have found the solution

Abirami-Segar commented 2 years ago

Hi, make sure that you are feeding the right path to your bag file location. Also make sure that in the program you have the correct location to the bag file.

On Fri, 12 Nov 2021, 20:12 Moksh Malhotra, @.***> wrote:

@Abirami-Segar https://github.com/Abirami-Segar I'm facing same issue. Can you guide me if you have found the solution

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MIT-SPARK/Kimera-VIO-ROS/issues/145#issuecomment-967353035, or unsubscribe https://github.com/notifications/unsubscribe-auth/APAQ2Q5PSOQ4PFT6NC2ZPMTULVRJFANCNFSM46CSRMFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ZFDD96 commented 2 years ago

Hi, how do you solved this problem. I cannot understand your reply. Thanks.

ZFDD96 commented 2 years ago

Hi, how do you solved this problem. I cannot understand your reply. Thanks.

oh, I get it. '~/' cannot be used!!!