This ROS package provides a node image_fusion_node.py
that takes a image topics and merges them into a concatenated image.
The image fusion node is located in the scripts
directory.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git-all
# Set up source list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
# Set up keys
sudo apt install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
# Installation
sudo apt-get update
sudo apt install ros-noetic-desktop-full
# Environment setup if using bash
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
# Environment setup if using zsh
echo "source /opt/ros/noetic/setup.zsh" >> ~/.zshrc
source ~/.zshrc
# Dependencies for building packages
sudo apt-get install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential python3-catkin-tools
sudo apt install python3-rosdep
sudo rosdep init
rosdep update
mkdir ~/catkin_ws
cd ~/catkin_ws
mkdir src
cd src
# Initialise workspace
catkin_init_workspace
cd ~/catkin_ws/src
git clone https://github.com/kiakahabro/abyss.git
cd ~/catkin_ws
# Build all packages
catkin_make
# Environment setup if using bash
echo "source $(pwd)/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
# Environment setup if using zsh
echo "source $(pwd)/devel/setup.zsh" >> ~/.zshrc
source ~/.zshrc
cd ~/catkin_ws
catkin_make
To run the node, do the following in one terminal:
roslaunch abyss launch_fusion.launch
in another terminal, run the following:
roscd abyss/data
rosbag play --clock case_study.bag
While a homography blend was trialed, I wasn't able to debug it in the time required.