-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mcap merge
should deduplicate identical channels
#772
Comments
Linear: FG-965 |
Thanks for the report, but I'm not able to reproduce this issue in a simple test. Could you please provide example files that can be used to reproduce the issue? Notice the new message count is 3025 + 3025 = 6050:
|
Oh, I missed the duplicated channels. Yes, my output is the same as yours. But it confuses me: shouldn't channels with the same name be merged together instead of duplicating? |
Yes I think it would be reasonable to expect identical channels to be merged. Converting to a feature request. |
Thanks for the response! |
mcap merge
should deduplicate identical channels
Also, when I attempt to view the combined MCAP file in Foxglove, I can see the complete recording, However, the information about the data sources is incorrect. It fetches information from the first part of the file. Ignores the rest. It shows incorrect frequency and message count. |
Adding my vote for this feature (merging identical channels). I currently have an application where we stitch together time-sequential mcap files that all have the same topics, and the resulting mcap file has a huge number of duplicated channels. This makes it hard to interpret the output of |
Description
I want to create several .mcap files and then merge them into one (as I understand, FoxGlove studio can display only single file). I successfully merge different mcap files. But in FoxGlove Studio in panel Data Source a total number of messages is incorrect, as well as frequency of messages in each topic.
It seems that the total number of messages is taken from one of .mcap files before merging.
Despite the shown number of messages is wrong, it seems that in panels all messages are visualized (I checked panels plot and 3D).
Steps To Reproduce
Expected Behavior
Statistic about messages represents the whole file.
Actual Behavior
Number of messages counts only one file's messages.
The text was updated successfully, but these errors were encountered: