full upload so not to lose anything important
This commit is contained in:
@@ -14,6 +14,12 @@ def load_dataset(
|
||||
return Dataset.from_file(bag_file_path, topic=pointcloud_topic)
|
||||
|
||||
|
||||
def save_dataset(dataset: Dataset, output_file_path: Path):
|
||||
if not output_file_path.is_dir():
|
||||
raise ArgumentTypeError(f"{output_file_path} has to be a valid folder!")
|
||||
dataset.to_file(output_file_path)
|
||||
|
||||
|
||||
def calculate_average_frame_rate(dataset: Dataset):
|
||||
timestamps = dataset.timestamps
|
||||
time_deltas = [
|
||||
|
||||
Reference in New Issue
Block a user