Skip to content

Installation

sutiwat41 edited this page Aug 5, 2020 · 4 revisions

Installation

IPCx is a library based on ROS, so to use our library you must install ROS. We developed IPCx on Windows 10 and WSL Ubuntu 20.04 LTS. You can see how to install WSL at https://www.windowscentral.com/install-windows-subsystem-linux-windows-10. In this document, we will show you how to install ROS on WSL and how to add our library to your project.

Requirement before install:

software version
WSL Ubuntu 20.04 LTS
Python Python 3
Matlab 2020a

ROS on WSL installation

In this tutorial, We will show you how to install ROS on WSL Ubuntu 20.04 LTS.

step 1 open WSL

step 2 run following command

2.1.Setup your sources.list

Setup your computer to accept software from packages.ros.org.

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

2.2.Set up your keys

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

if step 2.2 Error, you must follow this command

Note The Error is| gpg: can't connect to the agent: IPC connect call failed

The command :

sudo add-apt-repository ppa:rafaeldtinoco/lp1871129
sudo apt update
sudo apt install libc6=2.31-0ubuntu8+lp1871129~1 libc6-dev=2.31-0ubuntu8+lp1871129~1 libc-dev-bin=2.31-0ubuntu8+lp1871129~1 -y --allow-downgrades
sudo apt-mark hold libc6

then

curl -sL "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xF42ED6FBAB17C654" | sudo apt-key add

and you run step 2.2 again if you have more problem please study link

2.3.Install ROS

sudo apt update

Now pick how much of ROS you would like to install.

Desktop-Full Install: (Recommended) : Everything in Desktop plus 2D/3D simulators and 2D/3D perception packages

sudo apt install ros-noetic-desktop-full

2.4 Environment setup

source /opt/ros/noetic/setup.bash
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Clone this wiki locally