Transport compressed video using ROS image_transport to reduce latency.
mkdir -p ~/video_transport/src
cd video_transport/src
catkin_init_workspace
cd ..
catkin_make
cd src
git clone https://github.com/AreteQin/compressed-video-transport.git
cd ..
catkin_make
hostname -I
export ROS_IP=192.168.2.39 # change the IP according to hostname -I
export ROS_MASTER_URI=http://192.168.2.39:11311 # to make publisher as ROS master
roscore
source ./devel/setup.bash
export ROS_IP=192.168.2.39 # change the IP according to hostname -I
export ROS_MASTER_URI=http://192.168.2.39:11311 # to make publisher as ROS master
rosrun compressed-video-transport publisher
hostname -I
export ROS_IP=192.168.2.40 # change the IP according to hostname -I
export ROS_MASTER_URI=http://192.168.2.39:11311 # to make publisher as ROS master
source ./devel/setup.bash
rosrun compressed-video-transport receiver _image_transport:=raw
rosrun compressed-video-transport receiver _image_transport:=compressed