fix: remove timestamp print log

This commit is contained in:
TinyOh 2019-03-07 09:42:34 +08:00
parent b48cc6d98e
commit 7322ade75b

View File

@ -589,17 +589,6 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
stream, [this, stream](const api::StreamData &data) { stream, [this, stream](const api::StreamData &data) {
ros::Time stamp = checkUpTimeStamp( ros::Time stamp = checkUpTimeStamp(
data.img->timestamp, stream); data.img->timestamp, stream);
if (stream == Stream::DEPTH) {
static long long last_img = 0;
static ros::Time last = ros::Time(0);
static int cont = 0;
cont++;
if (stamp <= last) {
std::cout << "di " << cont <<"ci: " << data.img->timestamp <<"&" << last_img << "|" << last << "&" <<stamp << std::endl;
}
last = stamp;
last_img = data.img->timestamp;
}
static std::size_t count = 0; static std::size_t count = 0;
++count; ++count;
publishData(stream, data, count, stamp); publishData(stream, data, count, stamp);