6 const std::string &default_topic)
7 : default_topic_(default_topic)
9 boost::filesystem::create_directory(path);
11 std::string name = path +
"log_" + std::to_string(num) +
".bag";
21 boost::filesystem::path p(path);
22 boost::filesystem::directory_iterator end_iter;
25 for (boost::filesystem::directory_iterator iter(p); iter != end_iter; iter++)
27 if (iter->path().extension() ==
".bag")
void open(std::string const &filename, uint32_t mode=bagmode::Read)
#define ROS_DEBUG_STREAM(args)