Open jasonimercer opened 4 years ago
Weird, do you get some error message or so? In what way does it not work? Do you have example bags that we could reproduce with?
Yup, there is an error message (thanks for surfacing it so clearly):
Error initializing player
Error: CachedFilelike#read invalid input
at CachedFilelike.read (webpack-internal:///./packages/webviz-core/src/util/CachedFilelike.js:114:13)
at BagReader.readConnectionsAndChunkInfo (webpack-internal:///./packages/webviz-core/node_modules/rosbag/dist/web/index.js:3287:16)
at eval (webpack-internal:///./packages/webviz-core/node_modules/rosbag/dist/web/index.js:3321:12)
at new Promise (<anonymous>)
at BagReader.readConnectionsAndChunkInfoAsync (webpack-internal:///./packages/webviz-core/node_modules/rosbag/dist/web/index.js:3320:12)
at Bag.open (webpack-internal:///./packages/webviz-core/node_modules/rosbag/dist/web/index.js:3966:38)
at async BagDataProvider.initialize (webpack-internal:///./packages/webviz-core/src/dataProviders/BagDataProvider.js:99:7)
at async ApiCheckerDataProvider.initialize (webpack-internal:///./packages/webviz-core/src/dataProviders/ApiCheckerDataProvider.js:75:34)
In our workflow we are trying to have the 2nd bag be planner diagnostic images but if the robot has not made a plan during the event that was recorded, Webviz will not let us look at the group of primary bag + empty secondary bag.