Skip to content

Installation ROS Kinetic (Ubuntu 16.04)

Ankit Dhall edited this page Feb 4, 2021 · 1 revision

Make sure you have all the dependencies:

sudo apt-get install -y python-catkin-tools python-catkin-pkg python-rosdep python-wstool ros-kinetic-cv-bridge ros-kinetic-image-transport
sudo apt-get install -y ros-kinetic-nodelet-core ros-kinetic-ddynamic-reconfigure
sudo apt-get install -y ros-kinetic-velodyne-pointcloud

source /opt/ros/kinetic/setup.bash

# Prepare rosdep to install dependencies.
sudo rosdep init
rosdep update --include-eol-distros  # Support EOL distros.

To clone lidar_camera_calibration and install follow these steps:

# go to your catkin workspace src
cd ~/catkin_ws/src
git clone https://github.com/ankitdhall/lidar_camera_calibration.git

# move out dependencies
mv lidar_camera_calibration/dependencies/aruco_ros aruco_ros
mv lidar_camera_calibration/dependencies/aruco_mapping aruco_mapping

# checkout corresponding kinetic version
cd lidar_camera_calibration
git checkout kinetic

# build
cd ../..
rosdep install --from-paths src --ignore-src -r -y
catkin_make -DCATKIN_WHITELIST_PACKAGES="aruco;aruco_ros;aruco_msgs"
catkin_make -DCATKIN_WHITELIST_PACKAGES="aruco_mapping;lidar_camera_calibration"
catkin_make -DCATKIN_WHITELIST_PACKAGES=""