gaia-platform / rosbag2_snapshot

A ROS2 port of rosbag_snapshot
18 stars 12 forks source link

Use TopicDetails everywhere #2

Closed JWhitleyWork closed 2 years ago

JWhitleyWork commented 2 years ago

Since creating generic subscribers and publishers requires topic types, a topic name should always be paired with a topic type. This creates a TopicDetails message and a TopicDetails struct to be used as the key in std::map.

Be aware: This changes the service definition for rosbag2_snapshot_msgs/srv/TriggerSnapshot. This is necessary as it was previously missing topic types.