master
Turtlebot 2 on Ubuntu 20.04 and WSL
Install Ubuntu 20.04 subsystem
-
Enable the Windows Subsystem for Linux (PowerShell as Administrator)
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart -
Enable Virtual Machine feature (PowerShell as Administrator)
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart -
Restar PC
-
Install Ubuntu 20.04 using Microsoft Store
-
Open Ubuntu 20.04 and set your user and password
-
Check WSL version(PowerShell as Administrator)
wsl -l -v- If version is 2 change to 1 (PowerShell as Administrator)
wsl --set-version Ubuntu-20.04 1
Install VcXsrv Windows X Server
https://sourceforge.net/projects/vcxsrv/
Install ROS Noetic
git clone https://github.com/cafemesa/Focal_Noetic_WSL
cd ~/Focal_Noetic_WSL/
bash ./ROS_Noetic_Install.sh
Compile Turtlebot 2 packages for noetic
cd ~/Focal_Noetic_WSL/
bash ./TurtleBot2.sh
Fix Turtlebot Teleoperation execution error
Replace line 160 from « (e_errno, msg, *_) = e.args » to « (e_errno, msg) = e.args » in tcpros_base.py file. Use the next command to open the file
sudo gedit /opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py
Description
Guide to install Ubuntu 20.04 as subsystem, ROS Noetic, Compile Turtlebot2 Packages and XServer for visualization
28 KiB
Languages
Shell
100%