Skip to content

Commit 1ffa7d7

Browse files
authored
fix ouster dataloader (#495)
1 parent b168352 commit 1ffa7d7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

python/kiss_icp/datasets/ouster.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(
6565
"""
6666

6767
try:
68-
from ouster.sdk import client, open_source
68+
from ouster.sdk import core, open_source
6969
except ImportError:
7070
print(f'ouster-sdk is not installed on your system, run "pip install ouster-sdk"')
7171
exit(1)
@@ -80,12 +80,12 @@ def __init__(
8080

8181
# since we import ouster-sdk's client module locally, we keep reference
8282
# to it locally as well
83-
self._client = client
83+
self._client = core.client
8484

8585
self.data_dir = os.path.dirname(data_dir)
8686

8787
# lookup table for 2D range image projection to a 3D point cloud
88-
self._xyz_lut = client.XYZLut(source.metadata)
88+
self._xyz_lut = core.XYZLut(source.metadata)
8989

9090
self._pcap_file = str(data_dir)
9191

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies = [
5252
all = [
5353
"open3d>=0.16",
5454
"polyscope>=2.4.0",
55-
"ouster-sdk>=0.11",
55+
"ouster-sdk>=0.15.0",
5656
"pyntcloud",
5757
"PyYAML",
5858
"trimesh",

0 commit comments

Comments
 (0)