Unify rosbag1 and rosbag2 topic information
This commit is contained in:
@@ -34,3 +34,12 @@ class Connection(NamedTuple):
|
||||
md5sum: str
|
||||
msgcount: int
|
||||
ext: Union[ConnectionExtRosbag1, ConnectionExtRosbag2]
|
||||
|
||||
|
||||
class TopicInfo(NamedTuple):
|
||||
"""Topic information."""
|
||||
|
||||
msgtype: Optional[str]
|
||||
msgdef: Optional[str]
|
||||
msgcount: int
|
||||
connections: list[Connection]
|
||||
|
||||
Reference in New Issue
Block a user