← SDK Installation
← Xvisio SDK Documentation Home Page
Note:This installation user guide is created for version ROS 1. Version ROS 2 is under development.
Set your "sources.list":
sudo rm /etc/apt/sources.list.dros-latest.list
//skip to next setp if it prompted no file can be deleted.
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Set key:
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Install ROS system:
3.1 Update system software package:
sudo apt update
3.2 Install ROS system:
sudo apt -y install ros-melodic-desktop-full ros-melodic-ddynamic-reconfigure
sudo apt -y install ros-noetic-desktop-full ros-noetic-ddynamic-reconfigure
3.3 Related installation dependencies:
sudo apt install -y python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
3.4 Environment configuration
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
echo "source /opt/ros/melodic/setup.zsh" >> ~/.zshrc
source ~/.zshrc
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
echo "source /opt/ros/noetic/setup.zsh" >> ~/.zshrc
source ~/.zshrc
3.5 Initial "rosdep"
sudo rosdep init
rosdep update
Please click here to refer to the website for SDK installation.
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
source ${HOME}/catkin_ws/devel/setup.bash
echo "source ${HOME}/catkin_ws/devel/setup.bash" >> ~/.bashrc
cp -r xv_sdk ~/catkin_ws/src/
rosdep install --from-paths src --ignore-src -r -y
catkin_make -DXVSDK_INCLUDE_DIRS="/usr/include/xvsdk" -DXVSDK_LIBRARIES="/usr/lib/libxvsdk.so"
roscore
cd ~/catkin_ws/
roslaunch xv_sdk xv_sdk.launch