diff --git a/tools/rosbag/include/rosbag/player.h b/tools/rosbag/include/rosbag/player.h index c9d53537..f8c9cec2 100644 --- a/tools/rosbag/include/rosbag/player.h +++ b/tools/rosbag/include/rosbag/player.h @@ -56,9 +56,6 @@ struct PlayerOptions void check(); - bool check_bag; - bool show_defs; - bool quiet; bool start_paused; bool at_once; @@ -74,17 +71,6 @@ struct PlayerOptions std::vector bags; }; -//! \todo this information is already stored in the bag file -struct BagContent -{ - BagContent(std::string const& d, std::string const& m, std::string const& def); - - std::string datatype; - std::string md5sum; - std::string definition; - int count; -}; - class Player { public: @@ -92,7 +78,6 @@ public: ~Player(); void publish(); - int checkBag(); private: char readCharFromStdin(); diff --git a/tools/rosbag/src/player.cpp b/tools/rosbag/src/player.cpp index 69baba26..5dd42712 100644 --- a/tools/rosbag/src/player.cpp +++ b/tools/rosbag/src/player.cpp @@ -52,16 +52,6 @@ using ros::Exception; namespace rosbag { -// BagContent - -BagContent::BagContent(std::string const& d, std::string const& m, std::string const& def) : - datatype(d), - md5sum(m), - definition(def), - count(1) -{ -} - // PlayerOptions PlayerOptions::PlayerOptions() :