ROS virtual machine environment configuration
Environment Introduction
Many hardware-related development environment is easy in Windows, at the same time, ROS are easy to use in Ubuntu, not back to when two FBI computer, you can use a virtual machine (Virtual Box or VMware Workstation) in the Win10 environment to install Ubuntu 16, and then configure the ROS development environment, set up the network needs attention.
My notebook configuration: i7-8550U, 16G, 512G SSD, under Win10 virtual machine installed Ubuntu 16 run smoothly.
Install Ubuntu 16
- Win10 install Virtual Machine (slightly)
- 下载 Ubuntu 16.04.5 LTS (Xenial Xerus) - 64-bit PC (AMD64) desktop image
- Virtual machine downloaded selection files installed .iso memory 4GB, 2 * 2 processor, a hard disk 60GB, the network adapter bridge mode selection (B): direct connection to the physical network .
- The next installation step by step on it.
- You may need to be able to Intel VT-x in the BIOS manipulation
ROS installation
- Speed is good (5MB / s or so) about 10 minutes to complete the operation of this section
- Replace the software source: System Settings -> Software & Updates -> Ubuntu Software tab -> the Download from: http://mirrors.tuna.tsinghua.edu.cn/ubuntu , into Tsinghua source, click Close click Reload.
- Open the installation ROS Kinetic in Ubuntu website.
1.2 Click Mirros, copy 1.1.3 Tsinghua University's Command to the terminal:
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
Back mounted in Ubuntu ROS Kinetic page, add 1.3 copy keys to the terminal:
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
Update:
sudo apt-get update
Desktop full version installation:
sudo apt-get install ros-kinetic-desktop-full
Initialization rosdep:
sudo rosdep init rosdep update # 一次不行多来几遍, 最好能访问外网
Environment configuration:
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc source ~/.bashrc
Construction of factories rely on:
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
Other software installation
VS Code
Gitkraken
sogou Input
Reference under ubuntu16.04 successfully installed Sogou input method
Fcitx installation and its associated tools:
sudo apt-get install fcitx sudo apt-get install fcitx-config-gtk sudo apt-get install fcitx-table-all sudo apt-get install im-switch
Download and install Sogou input method for Linux 64bit
- Restart or log out -> log in
- Find Fcitx Configuration -> lower left corner + -> remove the tick Only Show Current Language -> drop-down to find the Sogou Pinyin -> OK
- Ctrl + Space switching input, Shift handover English, Shift + Space switch, and width, Ctrl +. Handover English punctuation