-
-
Notifications
You must be signed in to change notification settings - Fork 693
Open
Labels
Description
I am trying to open bags with mcap format.
I use ros2 foxy and record my bags from rosbag on foxy-future branch.
Problem description
I cannot open my bags with plotjuggler.
With plotJuggler 3.6.1 from snap, opening plotluggler.ros2 and then opening my file give me:
[ERROR] [1675112680.526331625] [rosbag2_storage]: Could not open '/home/nicolas/src/aquila/rosbag2/test_record/rosbag2_2023_01_30-11_45_23/rosbag2_2023_01_30-11_45_23_0.mcap' with 'sqlite3'. Error: Failed to setup storage. Error: Error when processing SQL statement. SQLite error (26): file is not a database
[ERROR] [1675112680.526370274] [rosbag2_storage]: Could not load/open plugin with storage id 'sqlite3'.
/snap/plotjuggler/60/usr/bin/launcher-plotjuggler-ros2: line 10: 18861 Segmentation fault (core dumped) ${SNAP}/usr/local/bin/plotjuggler --plugin_folders $PLUGIN_FOLDERS $@
With plotjuggler.ros2 -d /home/nicolas/src/aquila/rosbag2/test_record/rosbag2_2023_01_30-11_45_23/rosbag2_2023_01_30-11_45_23_0.mcap
What should I do with that ?
From plotJuggler 3.6.0 from apt install, if I open the metadata.yaml I also get the same error
[ERROR] [1675116442.568116900] [rosbag2_storage]: Could not open '/home/nicolas/src/aquila/rosbag2/test_record/rosbag2_2023_01_30-11_29_11/rosbag2_2023_01_30-11_29_11_0.mcap' with 'sqlite3'. Error: Failed to setup storage. Error: Error when processing SQL statement. SQLite error (26): file is not a database
[ERROR] [1675116442.568205052] [rosbag2_storage]: Could not load/open plugin with storage id 'sqlite3'.
If I open the .mcap file, I can read it ! but only some topics and for most of them I get:
From sources: only able to build on foxy branch and there is no mcap support...
What am I missing?
Or is it possible to open mcap bag with plotjuggler on foxy?
ZhenshengLee