Skip to content

Commit

Permalink
fixing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Jul 31, 2024
1 parent f646954 commit 043adf1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/bag_processing/scripts/rosbag_recover.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def recover_bag(input_bag):

# Check for errors
if result.returncode != 0:
print(f"Error running rosbag info: {result.stderr}")
print(f"Error splitting bag into topics: {result.stderr}")
return []

command = ["rosrun", "bag_processing", "rosbag_fix_all.py", out_bag_topic]
Expand All @@ -79,7 +79,7 @@ def recover_bag(input_bag):
)
# Check for errors
if result.returncode != 0:
print(f"Error running rosbag info: {result.stderr}")
print(f"Error running rosbag fixall on individual topics: {result.stderr}")
return []

topic_bags.append(base_name + "." + topic.replace("/", "_") + ".fix_all" + ext)
Expand All @@ -96,7 +96,7 @@ def recover_bag(input_bag):

# Check for errors
if result.returncode != 0:
print(f"Error running rosbag info: {result.stderr}")
print(f"Error merging bags: {result.stderr}")
return []

command = ["rosrun", "bag_processing", "rosbag_fix_all.py", out_bag]
Expand All @@ -106,7 +106,7 @@ def recover_bag(input_bag):

# Check for errors
if result.returncode != 0:
print(f"Error running rosbag info: {result.stderr}")
print(f"Error running rosbag fixall on merged bag: {result.stderr}")
return []


Expand Down

0 comments on commit 043adf1

Please sign in to comment.