|Note: This tutorial assumes that you have completed the previous tutorials: Installing and Configuring Your ROS Environment, Creating a ROS Package.|
|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.|
InstallationDescription: Installing the ROS package
Keywords: installation, setup, compiling
Tutorial Level: BEGINNER
Next Tutorial: Running the YRL
This tutorial describes how to install the YRL ROS package. The package contains the wrapper code for a pre-compiled driver supporting Ubuntu 18.04 and ROS Melodic.
The tutorial requires an installed and configured ROS environment and a Catkin workspace set up. If these are not yet prepared, please complete the installation and workspace setup first before continuing.
Downloading the YRL ROS package
First, load the ROS environment variables and navigate to the source directory of the Catkin workspace to be used. For example:
$ source /opt/ros/melodic/setup.bash $ cd ros/catkin_ws/src
Download the Git repository from GitHub into the source directory.
$ git clone https://github.com/yujinrobot/yujin_lidar.git
Compiling the package source code
Compile the package source code from the root of your Catkin workspace.
$ cd ... $ catkin_make
Add the workspace including the freshly built package to your ROS environment by sourcing the setup file of your devel(opment) folder.
$ source devel/setup.bash
Verify the package has been picked up with rospack:
$ rospack find yujin_yrl_package