Skip to content

Commit ab82c3d

Browse files
authored
Merge pull request #5 from uaarg/HameedFawwaz-patch-1
Update sim.md
2 parents 373872c + 855e060 commit ab82c3d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/sim.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ scripts or MavLink connections!
88
OS: Ubuntu 22.04+ (Or equivalent to it, WSL will also work, please note that
99
some functionality in WSL is limited)
1010

11-
## Create Working Environment for your simulator It is recommended to enclose
12-
your simulator in its own directory for ease of use.
11+
## Create Working Environment for your simulator
12+
It is recommended to enclose your simulator in its own directory for ease of use.
1313

1414
## Installing APM Planner (for Ubuntu Users)
1515

1616
Follow through the Ubuntu 22.04 LTS installation from here:
1717
https://github.com/ArduPilot/apm_planner?tab=readme-ov-file#linux
1818

19-
## Installing QGroundControl (For WSL Users) Unfortunately there are connection
20-
issues over UDP for APM Planner so for now you can just run QGroundControl
19+
## Installing QGroundControl (For WSL Users)
20+
Unfortunately there are connection issues over UDP for APM Planner so for now you can just run QGroundControl
2121

2222
https://docs.qgroundcontrol.com/master/en/qgc-user-guide/getting_started/download_and_install.html#ubuntu
2323

@@ -37,14 +37,14 @@ sudo apt-get install git
3737
sudo apt-get install gitk git-gui
3838
```
3939

40-
#### Clone ArduPilot repository into the simulator directory
40+
#### Clone the ArduPilot repository into the simulator directory
4141

4242
```
4343
git clone --recurse-submodules git@github.com:ArduPilot/ardupilot.git
4444
cd ardupilot
4545
```
4646

47-
#### Install required packages for SITL (Software In The Loop)
47+
#### Install the required packages for SITL (Software In The Loop)
4848

4949
```
5050
Tools/environment_install/install-prereqs-ubuntu.sh -y
@@ -70,7 +70,7 @@ After your system has finished rebooting:
7070
./waf clean
7171
```
7272

73-
At this point, you can test if everything is working by running
73+
At this point, you can test if everything is working by running. You most likely will need to reload the path for this to work (open a new terminal window)
7474

7575
```
7676
sim_vehicle.py -v Copter
@@ -108,7 +108,9 @@ Open up 4 terminals
108108

109109
1. In the first terminal, run `./sitl.sh`
110110
2. In the second terminal, run `./proxy.sh`
111-
3. In the third terminal, run `./release/apmplanner2`
111+
3. If using APM planner: In the third terminal, run `./release/apmplanner2` from within the APMplanner directory.
112+
113+
If using QGC, then run the downloaded AppImage/App for ubuntu/mac respectively
112114
4. The fourth terminal is where you will be executing your scripts to run in
113115
the simulator
114116

0 commit comments

Comments
 (0)