First step: First install Ros Kinetic:
Ref: 78632211
52549872
Pre-installation Preparations
1. Configure the Ubuntu repository: "Restricted", "universe" and "Multiverse"
Open system settings , software and updates:
Make sure that the three options "restricted", "universe" and "Multiverse" are checked.
Then change the download from: In the drop-down box select Other Site , select the best Server , select the server.
2. Set up the software source: sources.list
Type the command:
' echo "Deb Http://packages.ros.org/ros/ubuntu $ (LSB_RELEASE-SC) main" >/etc/apt/sources.list.d/ Ros-latest.list'
3. Set keys
Type the command :
sudo apt-key adv--keyserver hkp://ha.pool.sks-keyservers.net: --recv-key 0xb01fa116
To start the installation:
1. Update the SOFTWARE and install
1 sudo apt-get update2 sudo apt-get install Ros-kinetic-desktop-full
Error:E: Unable to locate package Ros-kinetic-desktop-full
Resolution : It was later discovered that sudo apt-get install ros-kinetic-desktop-full. How, did you find anything? ? knock ' k ' into ' k '.mistakes are all experience, although some dishes ...
After correction:
1 sudo apt-get install Ros-kinetic-desktop-full
But also error :
Workaround:
1 sudo apt-get update2 sudo apt-get install ros-kinetic-Desktop3
Re-enter:
sudo apt-get install Ros-kinetic-desktop-full
Problem solving.
You can view the available package after installation (what's the use?? )
Apt-cache Search Ros-kinetic
2. Initialize ROSDEP
1 sudo rosdep init 2 ROSDEP Update
3. Environment configuration
1 " source/opt/ros/kinetic/setup.bash ">> ~/.BASHRC 2 Source ~/.BASHRC
Error:
Cause of error: or this k!!! And you'll see how horrible it is to get this command wrong. This error will appear as soon as you open a terminal, restart? It doesn't work.
So now we're going to solve it completely (the solution is to find it online ...). : 72676392)
Solve:
In terminal input: Gedit. BASHRC
find bash at the end of the open file:/opt/ros/kinetic/setup.bash Kinetic k to lowercase, remove redundant configuration, re-enter at Terminal:
1 " source/opt/ros/kinetic/setup.bash ">> ~/.BASHRC 2 Source ~/.BASHRC
4. Installation of building package dependencies
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
5. Test the success of the Ros installation
This result indicates that the installation was successful.
Step Two: Install Lsd-slam
The process record of ubuntu16.04 running through Lsd-slam