Closed kan-bayashi closed 1 year ago
Fix contents as follows (only message_count is newly added):
root@kan-bayashi-deploy-0:/opt/pydtk# pydtk model generate metadata --from-file sample/sample_autoware.db3
[WARN] [1674734116.099633458] [rosbag2_storage]: No storage plugin found with id 'sqlite3'.
[INFO] [1674734116.105307128] [rosbag2_storage]: Opened database 'sample/sample_autoware.db3' for READ_ONLY.
[WARN] [1674734116.367407504] [rosbag2_storage]: No storage plugin found with id 'sqlite3'.
[INFO] [1674734116.372472992] [rosbag2_storage]: Opened database 'sample/sample_autoware.db3' for READ_ONLY.
[WARN] [1674734116.561068059] [rosbag2_storage]: No storage plugin found with id 'sqlite3'.
[INFO] [1674734116.566302425] [rosbag2_storage]: Opened database 'sample/sample_autoware.db3' for READ_ONLY.
{
"record_id": null,
"path": "/opt/pydtk/sample/sample_autoware.db3",
"contents": {
"/clock": {
"message_count": 2941,
"type": "rosgraph_msgs/msg/Clock",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/sensing/gnss/ublox/fix_velocity": {
"message_count": 30,
"type": "geometry_msgs/msg/TwistWithCovarianceStamped",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/sensing/gnss/ublox/nav_sat_fix": {
"message_count": 30,
"type": "sensor_msgs/msg/NavSatFix",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/sensing/gnss/ublox/navpvt": {
"message_count": 30,
"type": "ublox_msgs/msg/NavPVT",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/sensing/imu/tamagawa/imu_raw": {
"message_count": 853,
"type": "sensor_msgs/msg/Imu",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/sensing/lidar/left/velodyne_packets": {
"message_count": 299,
"type": "velodyne_msgs/msg/VelodyneScan",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/sensing/lidar/right/velodyne_packets": {
"message_count": 299,
"type": "velodyne_msgs/msg/VelodyneScan",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/sensing/lidar/top/velodyne_packets": {
"message_count": 288,
"type": "velodyne_msgs/msg/VelodyneScan",
"serialization_format": "cdr",
"offered_qos_profiles": "- history: 3\n depth: 0\n reliability: 1\n durability: 2\n deadline:\n sec: 2147483647\n nsec: 4294967295\n lifespan:\n sec: 2147483647\n nsec: 4294967295\n liveliness: 1\n liveliness_lease_duration:\n sec: 2147483647\n nsec: 4294967295\n avoid_ros_namespace_conventions: false"
},
"/vehicle/status/control_mode": {
"message_count": 873,
"type": "autoware_auto_vehicle_msgs/msg/ControlModeReport",
"serialization_format": "cdr",
"offered_qos_profiles": ""
},
"/vehicle/status/gear_status": {
"message_count": 873,
"type": "autoware_auto_vehicle_msgs/msg/GearReport",
"serialization_format": "cdr",
"offered_qos_profiles": ""
},
"/vehicle/status/steering_status": {
"message_count": 873,
"type": "autoware_auto_vehicle_msgs/SteeringReport",
"serialization_format": "cdr",
"offered_qos_profiles": ""
},
"/vehicle/status/velocity_status": {
"message_count": 873,
"type": "autoware_auto_vehicle_msgs/msg/VelocityReport",
"serialization_format": "cdr",
"offered_qos_profiles": ""
}
},
"start_timestamp": 1614315746.338218,
"end_timestamp": 1614315776.212543
}
What?
Why?