diff --git a/gazebo_plugins/src/gazebo_ros_openni_kinect.cpp b/gazebo_plugins/src/gazebo_ros_openni_kinect.cpp index 64825d785..67d3b4690 100644 --- a/gazebo_plugins/src/gazebo_ros_openni_kinect.cpp +++ b/gazebo_plugins/src/gazebo_ros_openni_kinect.cpp @@ -209,6 +209,7 @@ void GazeboRosOpenniKinect::OnNewDepthFrame(const float *_image, // do this first so there's chance for sensor to run 1 frame after activate this->parentSensor->SetActive(true); } + PublishCameraInfo(); } ////////////////////////////////////////////////////////////////////////////////