tf2_scanner.h
Go to the documentation of this file.
1 // Scans multiple bag files for tf2 messages and aggregates them
2 // Author: Max Schwarz <max.schwarz@ais.uni-bonn.de>
3 
4 #ifndef ROSBAG_FANCY_TF2_SCANNER
5 #define ROSBAG_FANCY_TF2_SCANNER
6 
7 #include <vector>
8 #include <memory>
9 
10 #include <tf2_msgs/TFMessage.h>
11 
12 namespace rosbag_fancy
13 {
14 
15 class BagReader;
16 
18 {
19 public:
20  explicit TF2Scanner(const std::vector<BagReader*>& readers);
21  ~TF2Scanner();
22 
29  const tf2_msgs::TFMessage* fetchUpdate(const ros::Time& time);
30 
31 private:
32  friend class Cursor;
33  class Private;
34  std::unique_ptr<Private> m_d;
35 };
36 
37 }
38 
39 #endif
const tf2_msgs::TFMessage * fetchUpdate(const ros::Time &time)
Fetch next aggregated message.
std::unique_ptr< Private > m_d
Definition: tf2_scanner.h:33
TF2Scanner(const std::vector< BagReader *> &readers)


rosbag_fancy
Author(s):
autogenerated on Fri Dec 9 2022 04:00:10