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
90c2d5ca
Commit
90c2d5ca
authored
5 years ago
by
Tommy Persson
Browse files
Options
Downloads
Plain Diff
Install fixes.
parents
53698b14
3c2bcd3d
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
README.md
+11
-10
11 additions, 10 deletions
README.md
with
11 additions
and
10 deletions
README.md
+
11
−
10
View file @
90c2d5ca
...
@@ -56,7 +56,7 @@ sudo apt install openssh-server
...
@@ -56,7 +56,7 @@ sudo apt install openssh-server
Follow the steps below to setup the software required to execute
Follow the steps below to setup the software required to execute
Jupyter Notebooks on your native comupter or in a virtual machine.
Jupyter Notebooks on your native comupter or in a virtual machine.
You must have the aministrator/root privil
i
ges on the machine.
You must have the aministrator/root privil
e
ges on the machine
and basic/intermediate knowledge of Linux
.
### Ubuntu 18.04
### Ubuntu 18.04
...
@@ -106,9 +106,7 @@ does not require a password. If it does you should fix the required permissions.
...
@@ -106,9 +106,7 @@ does not require a password. If it does you should fix the required permissions.
```
bash
```
bash
sudo
visudo
sudo
visudo
```
```
and add
```NOPASSWD:```
by changing the line:
(use "sudo visudo" to edit permissions,
add NOPASSWD: in the right place). That is edit the line:
```
bash
```
bash
%sudo
ALL
=(
ALL:ALL
)
ALL
%sudo
ALL
=(
ALL:ALL
)
ALL
```
```
...
@@ -117,13 +115,13 @@ to
...
@@ -117,13 +115,13 @@ to
%sudo
ALL
=(
ALL:ALL
)
NOPASSWD: ALL
%sudo
ALL
=(
ALL:ALL
)
NOPASSWD: ALL
```
```
If this is considered a security risk the alternativ is to give the
If this is considered a security risk the alternativ
e
is to give the
password as argument to the ansible-playbook command:
password as argument to the ansible-playbook command:
```
bash
```
bash
ansible-playbook
-i
hosts playbooks/wara.yml
-e
ansible_sudo_pass
=
******
ansible-playbook
-i
hosts playbooks/wara.yml
-e
ansible_sudo_pass
=
******
```
```
Install playbooks repo:
Install
the
playbooks repo:
```
bash
```
bash
sudo
apt
install
git
sudo
apt
install
git
git clone https://gitlab.liu.se/lrs/lrs_playbooks.git
git clone https://gitlab.liu.se/lrs/lrs_playbooks.git
...
@@ -132,14 +130,14 @@ git clone https://gitlab.liu.se/lrs/lrs_playbooks.git
...
@@ -132,14 +130,14 @@ git clone https://gitlab.liu.se/lrs/lrs_playbooks.git
In the command below the value of the environment variable specifying
In the command below the value of the environment variable specifying
the login name is used. You don't have to replace it.
the login name is used. You don't have to replace it.
Run playbook to install and update the wara developer programs
:
Run playbook to install and update the wara developer programs
. It can take several minutes to complete.
```
bash
```
bash
cd
lrs_playbooks
cd
lrs_playbooks
git pull
git pull
ansible-playbook
-i
hosts playbooks/wara_develop.yml
-e
user
=
${
USER
}
-e
install_user
=
${
USER
}
ansible-playbook
-i
hosts playbooks/wara_develop.yml
-e
user
=
${
USER
}
-e
install_user
=
${
USER
}
```
```
Add t
o .bashrc
:
Add t
he following commands at the end of
```~/.bashrc```
file
:
```
bash
```
bash
export
WORLD_ORIGIN_LAT
=
57.7605573519
export
WORLD_ORIGIN_LAT
=
57.7605573519
export
WORLD_ORIGIN_LON
=
16.6827607783
export
WORLD_ORIGIN_LON
=
16.6827607783
...
@@ -149,15 +147,18 @@ export WORLD_ORIGIN_ELEVATION=29.8
...
@@ -149,15 +147,18 @@ export WORLD_ORIGIN_ELEVATION=29.8
source
${
HOME
}
/wara_ws/devel/setup.bash
source
${
HOME
}
/wara_ws/devel/setup.bash
export
PATH
=
${
HOME
}
/waraps/script:
${
PATH
}
export
PATH
=
${
HOME
}
/waraps/script:
${
PATH
}
```
```
These commands will take effect next time you open a new terminal window or login to the system.
At this point your system now has the necessary software installed.
Test 3D graphics
You can use the following commands to test the 3D graphics hardware and driver setup on your system:
```
bash
```
bash
glxgears
glxgears
glmark2
glmark2
```
```
Test Gazebo
If the above commands execute without errors you can test that Gazebo works correctly on your system:
```
bash
```
bash
roslaunch lrs_wara_gazebo gazebo.launch
roslaunch lrs_wara_gazebo gazebo.launch
...
...
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