Skip to content

Commit 3a77cc2

Browse files
Fixed crash on DepthCloud plugin (#1161) (#1163)
Signed-off-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit 92023c9) Co-authored-by: Alejandro Hernández Cordero <[email protected]>
1 parent 7f15f79 commit 3a77cc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rviz_default_plugins/src/rviz_default_plugins/displays/depth_cloud/depth_cloud_display.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ void DepthCloudDisplay::subscribe()
370370
std::bind(&DepthCloudDisplay::processDepthMessage, this, std::placeholders::_1));
371371
}
372372
}
373+
subscription_start_time_ = rviz_ros_node_->get_raw_node()->now();
373374
} catch (const image_transport::TransportLoadException & e) {
374375
setStatus(
375376
rviz_common::properties::StatusProperty::Error, "Message",

0 commit comments

Comments
 (0)