You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ros/image_cb_detector/files/c11.patch

14 lines
587 B

Index: image_cb_detector/src/rgbd_cb_detector_action.cpp
===================================================================
--- image_cb_detector.orig/src/rgbd_cb_detector_action.cpp
+++ image_cb_detector/src/rgbd_cb_detector_action.cpp
@@ -143,7 +143,7 @@ public:
for(size_t i = 0; i< features.image_points.size(); i++){
geometry_msgs::Point pixel = features.image_points[i];
float depth = *(depth_ptr+width*(unsigned int)pixel.y+(unsigned int)pixel.x);
- if ( isnan(depth) )
+ if ( std::isnan(depth) )
{
continue;
}