parent
045f6a7522
commit
8f5fc98188
|
@ -66,7 +66,7 @@ class OrderedMultiQueue {
|
||||||
auto* queue = FindOrNull(queue_key);
|
auto* queue = FindOrNull(queue_key);
|
||||||
if (queue == nullptr) {
|
if (queue == nullptr) {
|
||||||
// TODO(damonkohler): This will not work for every value of "queue_key".
|
// TODO(damonkohler): This will not work for every value of "queue_key".
|
||||||
LOG_EVERY_N(WARNING, 60) << "Ignored value for queue: '" << queue_key
|
LOG_EVERY_N(WARNING, 1000) << "Ignored value for queue: '" << queue_key
|
||||||
<< "'";
|
<< "'";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,8 @@ MotionFilter::MotionFilter(const proto::MotionFilterOptions& options)
|
||||||
|
|
||||||
bool MotionFilter::IsSimilar(const common::Time time,
|
bool MotionFilter::IsSimilar(const common::Time time,
|
||||||
const transform::Rigid3d& pose) {
|
const transform::Rigid3d& pose) {
|
||||||
LOG_EVERY_N(INFO, 500) << "Motion filter reduced the number of scans to "
|
LOG_IF_EVERY_N(INFO, num_total_ >= 500, 500)
|
||||||
|
<< "Motion filter reduced the number of scans to "
|
||||||
<< 100. * num_different_ / num_total_ << "%.";
|
<< 100. * num_different_ / num_total_ << "%.";
|
||||||
++num_total_;
|
++num_total_;
|
||||||
if (num_total_ > 1 &&
|
if (num_total_ > 1 &&
|
||||||
|
|
Loading…
Reference in New Issue