forked from ShiauweiZhao/multiple-sitl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
56 lines (41 loc) · 1.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Project to run multiple px4 SITL with Gazebo on Ubuntu 16.04 (Xenial).
Install
-------
1. cd install
2. sudo ./sudo_deps.sh
3. ./prepare.sh
ROS Kinetic + mavros support (if needed)
1. cd mavros/install
2. sudo ./sudo_deps.sh
3. ./prepare.sh
4. relogin
Configure
---------
For running in server+client mode change config.sh and client/gzclient.sh
Run
---
start.rb options:
some help:
./start.rb -h
one SITL instance, using iris model:
./start.rb
three iris_opt_flow models on x line:
./start.rb -m iris_opt_flow -n 3
work with custom world:
cp default.world custom.world
edit custom.world
./start.rb custom.world
Info
----
GCS mavlink ports for each SITL:
num server(sitl) client
1 15010 15015
2 15020 15025
... ... ...
n 15000+n*10 15000+n*10+5
Onboard mavlink ports for each SITL:
num server(sitl) client
1 15011 15016
2 15021 15026
... ... ...
n 15001+n*10 15001+n*10+5