Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LRS Development Environment - Common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lrs
LRS Development Environment - Common
Commits
d8967792
Commit
d8967792
authored
3 years ago
by
Tommy Persson
Browse files
Options
Downloads
Patches
Plain Diff
Adding loop-sel node executor.
parent
083f2477
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/wsl2.md
+77
-0
77 additions, 0 deletions
doc/wsl2.md
with
77 additions
and
0 deletions
doc/wsl2.md
0 → 100644
+
77
−
0
View file @
d8967792
# Notes about using Windows and WSL2
## Windows
Windows desktop docker and WSL2 and Ubuntu with ros needs to be installed.
### ROS
We recommend that you install ROS in WSL2 Ubuntu in Windows. See:
https://jack-kawell.com/2020/06/12/ros-wsl2/
Make sure that X is working and that rviz can be started.
### Ubuntu (WSL2) - SSH
In Ubuntu do:
```
bash
sudo
apt
install
openssh-server
ssh-keygen
cd
/etc/ssh
sudo
ssh-keygen
-A
cd
# set password authentication to on in /etc/ssh/sshd_config
sudo
service ssh start
```
The server needs to be started for ansible installation.
The follow the setup for SSH in: https://gitlab.liu.se/lrs/lrs_devenv_common/-/blob/master/doc/install_playbooks.md#setting-up-ssh
### Docker on Windows
Follow the instructions here:
https://docs.docker.com/docker-for-windows/wsl/
In an Ubuntu shell install docker.io:
```
bash
sudo
apt
install
docker.io
```
Then after starting the docker server from the desktop app you can do:
```
bash
docker ps
```
### Setup
Additional packages:
```
bash
sudo
apt
install
python3-vcstool python3-catkin-tools python3-osrf-pycommon ros-noetic-geographic-msgs python3-pyproj ansible mosquitto-clients ros-noetic-nmea-msgs
```
jsoncons:
```
bash
cd
/opt
sudo
git clone https://github.com/danielaparker/jsoncons.git
```
Ansible:
```
bash
mkdir
src
cd
src
git clone https://gitlab.liu.se/lrs/lrs_playbooks.git
cd
lrs_playbooks
```
Ansible command:
```
bash
ansible-playbook
-i
hosts playbooks/wara_develop.yml
-e
user
=
${
USER
}
-e
install_user
=
${
USER
}
-e
ansible_sudo_pass
=
******
--tags
packages,djisdk,paho,copyimage,lrs_devenv_common,repos,sdk,warabuild
```
Set up path and other stuff according to:
https://gitlab.liu.se/lrs/lrs_devenv_common/-/blob/master/doc/install_playbooks.md#finishing-up
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment