When camera is not calibrated at the beginning, and user performs camera calibration, node crashes at following line 433 as "cv_bridge_img_rect" is not pointing to anything.
cv_bridge_img_rect_->header.stamp = img_raw_msg_.header.stamp;
I have added the code to call setupRectification() if "cv_bridge_img_rect" is null pointer to make sure that topic and related objects are initialized before accessing them.
When camera is not calibrated at the beginning, and user performs camera calibration, node crashes at following line 433 as "cv_bridge_img_rect" is not pointing to anything.
cv_bridge_img_rect_->header.stamp = img_raw_msg_.header.stamp;
I have added the code to call setupRectification() if "cv_bridge_img_rect" is null pointer to make sure that topic and related objects are initialized before accessing them.