From 86a7ef38db1c8a95f53a52e9a3cdfc36c12b1cff Mon Sep 17 00:00:00 2001 From: Leonardo Brizi Date: Thu, 6 Jun 2024 16:28:10 +0200 Subject: [PATCH] fix naming --- python/vbr_devkit/tools/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/vbr_devkit/tools/run.py b/python/vbr_devkit/tools/run.py index ad80086..9553a44 100644 --- a/python/vbr_devkit/tools/run.py +++ b/python/vbr_devkit/tools/run.py @@ -11,7 +11,7 @@ from vbr_devkit.download.download_data import vbr_downloads, download_seq_fld from vbr_devkit.datasets.convert_bag import OutputDataInterface, OutputDataInterface_lut from vbr_devkit.tools.console import console -from rosbags import convert +from rosbags import convert as rosconvert app = typer.Typer() @@ -68,11 +68,11 @@ def convert(to: Annotated[OutputDataInterface, typer.Argument(help="Desired data if to == OutputDataInterface.ros2: if not input_dir.is_dir(): print("Processing...") - convert.convert(input_dir, output_dir / input_dir.stem) + rosconvert.convert(input_dir, output_dir / input_dir.stem) else: for item in track(list(input_dir.iterdir()), description="Processing..."): if item.suffix == '.bag': - convert.convert(item, output_dir / item.stem) + rosconvert.convert(item, output_dir / item.stem) else: with RosReader(input_dir) as reader: with OutputDataInterface_lut[to](output_dir) as writer: