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
e710db8f
Commit
e710db8f
authored
4 years ago
by
Tommy Persson
Browse files
Options
Downloads
Patches
Plain Diff
Work on minimal dockers
parent
90c2d5ca
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+65
-10
65 additions, 10 deletions
README.md
script/exec_exec
+0
-0
0 additions, 0 deletions
script/exec_exec
with
65 additions
and
10 deletions
README.md
+
65
−
10
View file @
e710db8f
...
...
@@ -19,28 +19,83 @@ export WORLD_ORIGIN_LON=16.6827607783
export
WORLD_ORIGIN_ELEVATION
=
29.8
```
## Linux host machine with ROS insalled on host machine.
The scren file are in: /home/tompe/docker/waraps/screen
Using docker for gazebo and lrs stuff.
## Start System Using Only Dockers but use a local ROS Core
### Start a ros core:
```
bash
roscore
```
Add location granso to the parameter server.
```
bash
basedji
roslaunch lrs_launch location_granso.launch ns:
=
/dji0
wdb
roslaunch lrs_launch location_granso.launch ns:
=
/dji0
```
### Start gazebo:
### Start gazebo
using docker
:
```
bash
gazebo roslaunch lrs_wara_gazebo gazebo.launch
```
### Load dji model:
### Load dji model
using docker
:
```
bash
gazebo roslaunch lrs_wara_gazebo dji_to_gazebo.launch name:
=
dji0 with_laser:
=
true
x:
=
0
```
### Start /op0 using a screen:
```
bash
env
NS
=
/op0 screen
-c
waraps/screen/screen_op
```
### Start /dji0 simulation using a screen:
```
bash
env
NS
=
/op0 screen
-c
waraps/screen/screen_djisim
```
### Basic Simulator
```
bash
base_dji roslaunch lrs_dji_sim sim.launch dynamics:
=
true
mpc:
=
true
inair:
=
true
ns:
=
/dji0 basic:
=
false
gazebo:
=
true
```
### Create a LRS DJI
Add
```
bash
dji_system roslaunch lrs_launch lrsdji.launch publish_pose:
=
false
ns:
=
/dji0
```
### Create a WDB LRS DJI
Add
```
bash
wdb roslaunch lrs_launch wdb.launch vehicle:
=
dji ns:
=
/dji0
```
### Create TST Factory for Execution Trees
Add
```
tst roslaunch lrs_launch tst_part ns:=/dji0
```
### Create Executors for DJI
Add
```
bash
exec_dji roslaunch lrs_launch exec_part.launch ns:
=
/dji0 vehicle:
=
dji
```
### Create Needed Operator
```
bash
wdb roslaunch lrs_launch wdb.launch vehicle:
=
op ns:
=
/op0
```
```
bash
tst roslaunch lrs_launch tst_part ns:
=
/op0
```
```
bash
exec_op roslaunch lrs_launch exec_part.launch ns:
=
/op0 vehicle:
=
op
```
## Virtual Machine Ubuntu 18.04
...
...
@@ -176,10 +231,10 @@ WORK IN PROGRESS!
roslaunch lrs_launch location_granso.launch ns:
=
/dji0
```
### Scrits to
tun
docker containers (and pull)
### Scri
p
ts to
start
docker containers (and pull)
-
base_dji
-
dji
-
dji
_system
-
wdb
### Dji Simulator with MPC Trajectory Contoller
...
...
@@ -203,7 +258,7 @@ base_dji roslaunch lrs_dji_sim sim.launch dynamics:=true mpc:=true inair:=true n
### Create a LRS DJI
Add
```
bash
dji roslaunch lrs_launch lrsdji.launch publish_pose:
=
false
ns:
=
/dji0
dji
_system
roslaunch lrs_launch lrsdji.launch publish_pose:
=
false
ns:
=
/dji0
```
### Create a WDB LRS DJI
...
...
@@ -215,7 +270,7 @@ wdb roslaunch lrs_launch wdb.launch vehicle:=dji ns:=/dji0
### Create TST Factory for Execution Trees
Add
```
tst roslaunch lrs_launch tst_part ns:=/dji0
tst roslaunch lrs_launch tst_part
.launch
ns:=/dji0
```
### Create Executors for DJI
...
...
@@ -231,7 +286,7 @@ wdb roslaunch lrs_launch wdb.launch vehicle:=op ns:=/op0
```
```
bash
tst roslaunch lrs_launch tst_part ns:
=
/op0
tst roslaunch lrs_launch tst_part
.launch
ns:
=
/op0
```
```
bash
...
...
This diff is collapsed.
Click to expand it.
script/exec_
op
→
script/exec_
exec
+
0
−
0
View file @
e710db8f
File moved
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