Repository, that listenes to topic and saves as images to disk in .exr
ROS, for example melodic
opencv 3.3.1 or opencv 3.4.3
- Create folder "catkin_ws/src" somewhere
- Go the new created folder, into src folder
- git clone https://github.com/IaroslavS/listen_to_topic_and_save.git
- cd ..
- catkin_make
- source devel/setup.bash
- rosrun ros_utils listen_and_save -t "name of topic" -p "path for saving images" -e "encoding"
By default:
-t: /stereo/depth
-p: ""
-e: 32FC1
for path don't put symbol '/' after the last folder, otherwise there'll be error