Skip to content
Snippets Groups Projects
Commit 8708feb9 authored by Reed Hedges's avatar Reed Hedges
Browse files

remove lase data rate time test

parent 330cc46f
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ LaserPublisher::~LaserPublisher()
void LaserPublisher::readingsCB()
{
printf("readingsCB(): %lu ms since last readingsCB() call.\n", readingsCallbackTime->mSecSince());
//printf("readingsCB(): %lu ms since last readingsCB() call.\n", readingsCallbackTime->mSecSince());
assert(laser);
laser->lockDevice();
publishLaserScan();
......@@ -74,7 +74,7 @@ void LaserPublisher::readingsCB()
laser->unlockDevice();
if(broadcast_tf)
transform_broadcaster.sendTransform(tf::StampedTransform(lasertf, convertArTimeToROS(laser->getLastReadingTime()), parenttfname, tfname));
readingsCallbackTime->setToNow();
//readingsCallbackTime->setToNow();
}
void LaserPublisher::publishLaserScan()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment