This project is a ros package that can provide two images as stereo camera topic.
Can fully working with stereo-image-proc and image-view.
It pubilsh four topic:
/stereo/left/image_raw
/stereo/left/camera_info
/stereo/right/image_raw
/stereo/right/camera_info
Download catkin tools:
$ sudo apt-get install python-catkin-tools
Create a catkin workspace:
$ mkdir catkin_ws && cd catkin_ws
Clone this project into source folder:
$ mkdir src && cd src
$ git clone https://github.com/workfunction/Image_file_publisher
Leave sorce folder and build:
$ cd ..
$ catkin init
$ catkin build
Finally source the environment variable of bash:
$ source devel/setup.bash
Simply runing the executable my_publisher
in package and give him two image:
$ rosrun image_transport_tutorial my_publisher <left_image> <right_image>