diff --git a/rosbag_snapshot/src/snapshotter.cpp b/rosbag_snapshot/src/snapshotter.cpp index fd5c071..347d739 100644 --- a/rosbag_snapshot/src/snapshotter.cpp +++ b/rosbag_snapshot/src/snapshotter.cpp @@ -430,7 +430,7 @@ void Snapshotter::topicCB(const ros::MessageEvent queue) { - ROS_INFO("Subscribing to %s", topic.c_str()); + ROS_DEBUG("Subscribing to %s", topic.c_str()); shared_ptr sub(boost::make_shared()); ros::SubscribeOptions ops; @@ -468,7 +468,7 @@ bool Snapshotter::writeTopic(rosbag::Bag& bag, MessageQueue& message_queue, stri res.message = string("failed to open bag: ") + err.what(); return false; } - ROS_INFO("Writing snapshot to %s", req.filename.c_str()); + ROS_DEBUG("Writing snapshot to %s", req.filename.c_str()); } // write queue @@ -638,7 +638,7 @@ void Snapshotter::clear() void Snapshotter::pause() { - ROS_INFO("Buffering paused"); + ROS_DEBUG("Buffering paused"); recording_ = false; } @@ -646,7 +646,7 @@ void Snapshotter::resume() { clear(); recording_ = true; - ROS_INFO("Buffering resumed and old data cleared."); + ROS_DEBUG("Buffering resumed and old data cleared."); } bool Snapshotter::enableCB(std_srvs::SetBool::Request& req, std_srvs::SetBool::Response& res)