This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rosbag, csv | |
import string | |
import argparse | |
from pathlib import Path | |
""" | |
Extract messages from bagfiles into CSV files | |
Usage: | |
python rosbag2csv.py bagfiles [bagfiles ...] [--topics TOPICS [TOPICS ...]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import exifread | |
from pathlib import Path | |
import argparse | |
def _get_if_exist(data, key): | |
if key in data: | |
return data[key] | |
return None | |
def get_exif(filename): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax="proto2"; | |
import "dccl/option_extensions.proto"; | |
message SingleImageSummary { | |
option (dccl.msg) = { codec_version: 4 | |
id: 124 | |
max_bytes: 100 }; | |
required int32 image_id = 1 [(dccl.field) = { min: 0 max: 65535 }]; | |
required double latitude = 2 [(dccl.field) = { units { system: "angle::degree" derived_dimensions: "plane_angle" } | |
min: -90 |
OlderNewer