File tree Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " vbr-devkit"
7- version = " 0.1 .0"
7+ version = " 0.2 .0"
88description = " Development kit for VBR SLAM dataset"
99readme = " README.md"
1010authors = [
@@ -26,7 +26,7 @@ dependencies = [
2626 " numpy" ,
2727 " rich" ,
2828 " typer[all]>=0.10.0" ,
29- " rosbags" ,
29+ " rosbags==0.11.0 " ,
3030 " rosbags.image"
3131]
3232
Original file line number Diff line number Diff line change 11from typing import Any , Union
22
3- from rosbags .typesys .types import (
3+ from rosbags .typesys .stores . ros1_noetic import (
44 sensor_msgs__msg__Imu ,
55 sensor_msgs__msg__Image ,
66 sensor_msgs__msg__PointCloud2
77)
8+
89from vbr_devkit .tools .image import Image
910from vbr_devkit .tools .imu import Imu
1011from vbr_devkit .tools .point_cloud2 import PointCloudXf
Original file line number Diff line number Diff line change 11try :
2- from rosbags .typesys .types import sensor_msgs__msg__Image
2+ from rosbags .typesys .stores .ros1_noetic import (
3+ sensor_msgs__msg__Image
4+ )
35except ImportError as e :
46 raise ImportError ('rosbags library not installed, run "pip install -U rosbags"' ) from e
57
Original file line number Diff line number Diff line change 11import numpy as np
22
33try :
4- from rosbags .typesys .types import sensor_msgs__msg__Imu
4+ from rosbags .typesys .stores .ros1_noetic import (
5+ sensor_msgs__msg__Imu
6+ )
57except ImportError as e :
68 raise ImportError ('rosbags library not installed, run "pip install -U rosbags"' ) from e
79
Original file line number Diff line number Diff line change 44import numpy as np
55
66try :
7- from rosbags .typesys .types import sensor_msgs__msg__PointCloud2 as PointCloud2
8- from rosbags .typesys .types import sensor_msgs__msg__PointField as PointField
7+ from rosbags .typesys .stores .ros1_noetic import (
8+ sensor_msgs__msg__PointCloud2 as PointCloud2 ,
9+ sensor_msgs__msg__PointField as PointField ,
10+ )
11+
912except ImportError as e :
1013 raise ImportError ('rosbags library not installed, run "pip install -U rosbags"' ) from e
1114
You can’t perform that action at this time.
0 commit comments