File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111from vbr_devkit .download .download_data import vbr_downloads , download_seq_fld
1212from vbr_devkit .datasets .convert_bag import OutputDataInterface , OutputDataInterface_lut
1313from vbr_devkit .tools .console import console
14- from rosbags import convert
14+ from rosbags import convert as rosconvert
1515
1616app = 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 :
You can’t perform that action at this time.
0 commit comments