kiwicampus / Integration-Engineer-Test-2024

Apache License 2.0
0 stars 0 forks source link

Issue with Playing MCAP File in ROS 2 #1

Open DuneV opened 3 hours ago

DuneV commented 3 hours ago

Description

I am trying to play an MCAP file using the following command:

ros2 bag play -s mcap diagnostic_0.mcap

Expected Behavior

The bag should play as expected without any errors.

Actual Behavior

I receive the following error:

yaml-cpp: error at line 1, column 12: bad conversion

System Details

Steps Taken

I have tried running the command with different ROS 2 distributions (Humble and Iron), but I receive the same error. I also created a simple MCAP file with some test topics, and it works as expected, which suggests that the read/write functionality for MCAP files is working.

Suspected Cause

It seems like the issue could be related to a custom YAML file that is used with the --storage-config-file option to decode the MCAP file. If this is the case, could you please provide this YAML configuration file, or advise how I can proceed?

Request

I would appreciate any help in resolving this error. If this is part of the test or if this issue is outside the scope of regular support, please ignore this question.

Thank you for your assistance!

salogranada commented 2 hours ago

Hi @DuneV Thanks for noticing! Rosbag files have been updated in the Drive. Please download them again. You have been the first to report this, so you'll have 1%/5 extra on your grade. Good luck 😎

salogranada commented 2 hours ago

I'll reopen it meanwhile for visibility to others.