Skip to content

Commit 225dc2f

Browse files
committed
Restore commented out logs, also not super clear on use of timestamps CURRENT vs ros::Time::now()
1 parent 7db0df1 commit 225dc2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zed_nodelets/src/zed_nodelet/src/zed_wrapper_nodelet.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2975,7 +2975,7 @@ void ZEDWrapperNodelet::callback_pubPath(const ros::TimerEvent& e)
29752975

29762976
void ZEDWrapperNodelet::callback_pubSensorsData(const ros::TimerEvent& e)
29772977
{
2978-
NODELET_INFO("callback_pubSensorsData");
2978+
// NODELET_INFO("callback_pubSensorsData");
29792979
std::lock_guard<std::mutex> lock(mCloseZedMutex);
29802980

29812981
if (!mZed.isOpened())
@@ -3696,6 +3696,7 @@ void ZEDWrapperNodelet::device_poll_thread_func()
36963696

36973697
mGrabPeriodMean_usec->addValue(elapsed_usec);
36983698

3699+
// NODELET_INFO_STREAM("Grab time: " << elapsed_usec / 1000 << " msec");
36993700
mFrameTimestamp = getTimestamp();
37003701

37013702
const ros::Time stamp = mFrameTimestamp; // Timestamp
@@ -4155,6 +4156,7 @@ void ZEDWrapperNodelet::device_poll_thread_func()
41554156
// Publish odometry tf only if enabled
41564157
if (mPublishTf)
41574158
{
4159+
// TODO(lucasw) or just ust mFrameTimestamp?
41584160
const ros::Time t = getTimestamp();
41594161

41604162
publishOdomFrame(mOdom2BaseTransf, t); // publish the base Frame in odometry frame

0 commit comments

Comments
 (0)