Skip to content

Commit 86a7ef3

Browse files
authored
fix naming
1 parent 853c6d2 commit 86a7ef3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/vbr_devkit/tools/run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from vbr_devkit.download.download_data import vbr_downloads, download_seq_fld
1212
from vbr_devkit.datasets.convert_bag import OutputDataInterface, OutputDataInterface_lut
1313
from vbr_devkit.tools.console import console
14-
from rosbags import convert
14+
from rosbags import convert as rosconvert
1515

1616
app = typer.Typer()
1717

@@ -68,11 +68,11 @@ def convert(to: Annotated[OutputDataInterface, typer.Argument(help="Desired data
6868
if to == OutputDataInterface.ros2:
6969
if not input_dir.is_dir():
7070
print("Processing...")
71-
convert.convert(input_dir, output_dir / input_dir.stem)
71+
rosconvert.convert(input_dir, output_dir / input_dir.stem)
7272
else:
7373
for item in track(list(input_dir.iterdir()), description="Processing..."):
7474
if item.suffix == '.bag':
75-
convert.convert(item, output_dir / item.stem)
75+
rosconvert.convert(item, output_dir / item.stem)
7676
else:
7777
with RosReader(input_dir) as reader:
7878
with OutputDataInterface_lut[to](output_dir) as writer:

0 commit comments

Comments
 (0)