ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Right click in image_view saves the current image in the stream to file. You can use run this node with your choice of camera driver to save images at will.
2 | edited answer based on further elaboration of question |
Right click in image_view saves the current image in the stream to file. You can use run this node with your choice of camera driver to save images at will.
EDIT: There are a number of ways in which you can store the image in a computationally efficient manner. If possible, try to avoid changing the driver code itself unless absolutely necessary. You can try something like:
cv::imwrite
in the image callback.rostopic pub /save_image std_msgs/Empty
This should allow you to save images programmatically as well if needed.