File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,11 @@ void DepthImageProjectorNode::depthCallback(const sensor_msgs::Image::ConstPtr&
101101 return ;
102102 }
103103
104- // TODO Remove entire color image process as color image is not used anymore
105- // if (!latestColorImagePtr)
106- // {
107- // ROS_WARN_STREAM("color stream not ready");
108- // return;
109- // }
104+ if (!latestColorImagePtr)
105+ {
106+ ROS_WARN_STREAM (" color stream not ready" );
107+ return ;
108+ }
110109
111110 // TODO Remove entire color image process as color image is not used anymore
112111 // // Update & check whether depthToColor is valid.
@@ -116,7 +115,7 @@ void DepthImageProjectorNode::depthCallback(const sensor_msgs::Image::ConstPtr&
116115 // ROS_WARN_STREAM("extrinsics parameter not arrivied yet");
117116 // return;
118117 // }
119- //
118+
120119 std::array<float , 16 > depthToMap;
121120 try
122121 {
You can’t perform that action at this time.
0 commit comments