Skip to content

Commit 0cd39ef

Browse files
Fixed crash on DepthCloud plugin (ros-visualization#1161) (ros-visualization#1162)
Signed-off-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit 92023c966414d4d9a044ad8f609a1c6f3ca402d3) Co-authored-by: Alejandro Hernández Cordero <[email protected]>
1 parent 0722bd0 commit 0cd39ef

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)