From 3cd100e20ba09245be01ad674248aa31a46ad271 Mon Sep 17 00:00:00 2001 From: Ongun Kanat Date: Thu, 11 Jul 2019 18:14:36 +0200 Subject: [PATCH] Publish camera info in gazebo_ros_depth_camera plugin (#798) --- gazebo_plugins/src/gazebo_ros_depth_camera.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gazebo_plugins/src/gazebo_ros_depth_camera.cpp b/gazebo_plugins/src/gazebo_ros_depth_camera.cpp index c7acaf723..e0b808a0f 100644 --- a/gazebo_plugins/src/gazebo_ros_depth_camera.cpp +++ b/gazebo_plugins/src/gazebo_ros_depth_camera.cpp @@ -218,6 +218,7 @@ void GazeboRosDepthCamera::OnNewDepthFrame(const float *_image, // do this first so there's chance for sensor to run 1 frame after activate this->parentSensor->SetActive(true); } + PublishCameraInfo(); } ///////////////////////////////////////////////////////////////////////////////